Community
    • Login

    NP++ isn't opening files on shared folder

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    network foldershared foldershare drive
    4 Posts 2 Posters 4.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kingtermiteK Offline
      kingtermite
      last edited by

      I do this with NP++ at work all the time, so I don’t know why I’m having trouble doing this at home. I got a laptop recently and put it on the same workgroup so I could share stuff between it and my desktop.

      Everything seems to work fine. I mapped a drive (Z:) to my shared folder on the desktop and use it to move files back and forth all the time. However, whenever I try to right click on a file on Z: and select ‘Open in Notepad++’, it doesn’t work.

      The pc switches context to NP++ as if it did something, but the file doesn’t open.

      If I try to navigate manually, NP++ doesn’t see Z:. It won’t let me drag and drop file into NP++.

      It’s very frustrating having an entire drive of files I can’t edit without doing something contrived like copy to local drive to work with and copy back.

      Ideas?

      1 Reply Last reply Reply Quote 0
      • gerdb42G Offline
        gerdb42
        last edited by

        Are you by chance running NPP with elevated privileges (aka “As Administrator”)? You can tell if it says “[Administrator]” in the Title Bar.

        If so, you won’t be able to use your mapped drives and you also can’t drag&drop items from programs running as normal user. Try to run NPP as normal user or use UNC-Pathes (e.g. \\MyServer\MyShare\).

        1 Reply Last reply Reply Quote 0
        • kingtermiteK Offline
          kingtermite
          last edited by

          Yes, that was it. Thank you.

          Why doesn’t NP++ work with share drives when in Administrator mode?

          1 Reply Last reply Reply Quote 0
          • gerdb42G Offline
            gerdb42
            last edited by

            This is nothing specific to NPP. In Windows, elevated Processes (running “As Administrator”) belong to a different Logon-Session and some settings may not be shared across Sessions, Drive Mappings being one of these. This is also the reason why Drag & Drop between elevated and non-elevated Processes doesn’t work.

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors