Community
    • Login

    Can't open files from local folder mapped as a network drive

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.1k Views
    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.
    • SASJediS
      SASJedi
      last edited by

      To emulate a production environment, I’ve mapped the C:\public folder on my laptop as the S: drive. Since the update to Noepad++ 8.1.5, I am no longer able to open files from that location in Notepad++. None of these techniques work:

      1. Right-click and choose Open in Notepad++ from the context menu
      2. Double-click a .txt file in File Explorer (Notepad++ is my default for text files)
      3. From the File menu, the S: drive is not even browsable.

      Any ideas on how to fix this?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @SASJedi
        last edited by

        @SASJedi ,

        Experiment:

        I just created the following test cases:

        1. net use z: \\remotemachine\path && explorer z:
        2. subst y: c:\path\to\folder && explorer y:
        3. net use x: \\localhost\C$\path\to\folder && explorer x:

        Confirmed that Windows Explorer opened for each of those three mapped drives.

        Used the explorer for all three of those mapped drives, and did a double-click to open something.txt or similar into Notepad++ (same works for right-click-and-choose rather than double-click): all three successfully opened, and showed the right X: or Y: or Z: prefix in the full path in Notepad++ title bar. Closed those three files.

        Inside Notepad++, use File>Open, and browse to a file in each of the Z:, Y:, and X: drives, and successfully open them.

        Sorry, I cannot reproduce.

        here’s my ?-menu > Debug Info

        Notepad++ v8.1.5   (64-bit)
        Build time : Sep 26 2021 - 15:23:23
        Path : C:\usr\local\apps\notepad++\notepad++.exe
        Command Line : "C:\usr\local\share\Subversion\nppConfigCheck\Makefile.PL"
        Admin mode : OFF
        Local Conf mode : ON
        Cloud Config : OFF
        OS Name : Windows 10 Enterprise (64-bit)
        OS Version : 2009
        OS Build : 19042.1237
        Current ANSI codepage : 1252
        Plugins : AutoSave.dll ComparePlugin.dll ExtSettings.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConsole.dll NppConverter.dll NppEditorConfig.dll NppExec.dll NppExport.dll NppFTP.dll NppUISpy.dll PreviewHTML.dll PythonScript.dll QuickText.dll RestApiToText.dll TagLEET.dll XMLTools.dll
        

        My guess is that Notepad++ is opened as Administrator for you, because Admin doesn’t see the normal-user’s mapped drives, IIRC. (My I.T. department doesn’t allow me to open Notepad++ as Admin, so I cannot test to confirm, sorry.) It’s really easy to see whether Notepad++ is running as admin by looking at the title bar of the NPP window, or by the ?-menu’s Debug Info entry.

        1 Reply Last reply Reply Quote 3
        • SASJediS
          SASJedi
          last edited by

          Fascinating! It WAS opening in Admin mode. I fixed that - and it’s working. Thanks SO much for taking the time to explain.

          1 Reply Last reply Reply Quote 4
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors