Notepad++ right-click to open file in a new window

CupOfTea696 picture CupOfTea696 · Feb 21, 2012 · Viewed 10.3k times · Source

How can I configure Notepad++ to open a file in a new window when I right-click it and select Edit with Notepad++ ? I already know I have to launch the program with the -multiInst switch, I just don't know how to add that to the registry mapping for the right-click.

Answer

Paul Sweatte picture Paul Sweatte · Aug 18, 2012

If you want to fix the right-click behavior of "Edit with Notepad++", first go to:

HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++ 

If the default value is:

{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}

then go to:

HKEY_CLASSES_ROOT\CLSID\{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}\Settings

Among the items should be Custom REG_SZ and nothing after it. Change the value to -nosession -multiInst.

It should now read Custom REG_SZ -nosession -multiInst. If you already have custom arguments defined, then just add a space and append -nosession -multiInst to the list.

References