Community
    • Login

    Notapad++ opens ALL FILES on folder AND subfolders

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 1.4k 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.
    • Rafael BullrichR
      Rafael Bullrich
      last edited by

      Hi, I used the “Debug” Registry trick to replace Notepad with Notepad++ and it works fine but…

      Instead of opening just the File I’m looking at (and selecting, off course) it will open ALL files on folder and on all sub-folders.

      In fact If there are many files, it will ask if I want to open all xxx files.

      Win 10 Pro 1809 with Notepad 7.8

      Ideas?

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

        I don’t use that hack (for me, it’s just easier to associate the files I want with Notepad++… and I never want Notepad++ in single-file multi-instance mode)… but it sounds like something isn’t quite right in how it was implemented for you… (like it’s just getting the file’s directory, rather than the file’s name, when it’s run)

        you might want to try to

        reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe"
        

        and post the results, just to make sure you’ve got it set up right.

        1 Reply Last reply Reply Quote 0
        • Rafael BullrichR
          Rafael Bullrich
          last edited by

          Here is the result of the Query…

          C:\Users\rbullrich>reg query “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe”

          HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe
          Debugger REG_SZ “C:\Program Files\Notepad++\notepad++.exe” -notepadStyleCmdline -z


          Also, note that it’s not just this folder but all others under it, like with a redundat switch: “/r”

          EkopalypseE 1 Reply Last reply Reply Quote 1
          • EkopalypseE
            Ekopalypse @Rafael Bullrich
            last edited by

            @Rafael-Bullrich should be solved by new 7.8.1 release.

            1 Reply Last reply Reply Quote 1
            • EkopalypseE
              Ekopalypse
              last edited by

              Just for completeness, I’m talking about this RC version.

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