Unfortunately this does not solve the problem of implizit open a new instance when ever I double-click a file which extension is linked to notepad++.
It would be much better to include this configuration detail into notepad++ itself!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know what relates the double-click of a file in the File Explorer to the program associated with the extension of the file. While I could find instances of Notepad++.exe in the registry, I couldn't find the "Edit with Notepad++" entry. It's probably in multibyte form.
Still...
Here's something to try:
Open up the Windows File Explorer. (Windows key + E, or right-click the Windows Start button and select "Explore".) In the Windows XP file explorer (it may be different in other Windows versions), select the Tools menu, then the Folder Options... menuitem. Click on the File Types tab in the dialog that appears.
Scroll down the Registered File Types list to a file type (like .TXT) that you have associated with Notepad++. Select it. Then click on the "Advanced" button.
With the "open" action selected in the "Editing action for type: Notepad++ Document" dialog that appears, click the "Edit" button.
In the "Application used to perform action:" field, you'll see something like this (depending on where you installed Notepad++):
"C:\Program Files\Notepad++\notepad++.exe" "%1"
Change it to this:
"C:\Program Files\Notepad++\notepad++.exe" -multiInst "%1"
Click OK, OK, and Close on the three dialogs. You should now be able to open all associated files in separate Notepad++ instances. --Joel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I open notepad up in multiple instances?
Add " -multiInst" to the command line argument that starts it. Look on the Notepad++ website for details. --Joel
Very useful point - especially since I use multiple monitors.
Unfortunately this does not solve the problem of implizit open a new instance when ever I double-click a file which extension is linked to notepad++.
It would be much better to include this configuration detail into notepad++ itself!
A possible workaround would be to add that "-multiInst" to the registry entries for launching Notepad++.exe. --Joel
Where are the registry entries?
I don't know what relates the double-click of a file in the File Explorer to the program associated with the extension of the file. While I could find instances of Notepad++.exe in the registry, I couldn't find the "Edit with Notepad++" entry. It's probably in multibyte form.
Still...
Here's something to try:
Open up the Windows File Explorer. (Windows key + E, or right-click the Windows Start button and select "Explore".) In the Windows XP file explorer (it may be different in other Windows versions), select the Tools menu, then the Folder Options... menuitem. Click on the File Types tab in the dialog that appears.
Scroll down the Registered File Types list to a file type (like .TXT) that you have associated with Notepad++. Select it. Then click on the "Advanced" button.
With the "open" action selected in the "Editing action for type: Notepad++ Document" dialog that appears, click the "Edit" button.
In the "Application used to perform action:" field, you'll see something like this (depending on where you installed Notepad++):
"C:\Program Files\Notepad++\notepad++.exe" "%1"
Change it to this:
"C:\Program Files\Notepad++\notepad++.exe" -multiInst "%1"
Click OK, OK, and Close on the three dialogs. You should now be able to open all associated files in separate Notepad++ instances. --Joel
This means that you have to adjust all the extension to use notepad++. I am using the notepad replacement from the download page, so it does not work.