• Login
Community
  • Login

Notapad++ opens ALL FILES on folder AND subfolders

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 1.5k 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.
  • R
    Rafael Bullrich
    last edited by Oct 19, 2019, 12:11 AM

    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
    • P
      PeterJones
      last edited by Oct 19, 2019, 1:24 AM

      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
      • R
        Rafael Bullrich
        last edited by Oct 19, 2019, 2:34 AM

        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”

        E 1 Reply Last reply Oct 19, 2019, 2:18 PM Reply Quote 1
        • E
          Ekopalypse @Rafael Bullrich
          last edited by Oct 19, 2019, 2:18 PM

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

          1 Reply Last reply Reply Quote 1
          • E
            Ekopalypse
            last edited by Oct 19, 2019, 2:23 PM

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

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