Notapad++ opens ALL FILES on folder AND subfolders



  • 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?



  • 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.



  • 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”



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



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


Log in to reply