Search code examples
notepad++7zip

How to use notepad++ as external editor for 7zip


When using 7zip, clicking "edit" on a file inside of an archive, per default opens up notepad. How to use notepad++ instead?

7zip has the option to configure an external exitor. Simply using the notepad++ exe does not work. Edit fails in notepad++ with an error message similar to "file cannot be saved, because it's already opened in another program" (I don't have an english installation).


Solution

  • Found a solution: Use a batch script to wrap the command line arguments inside and link that batch script in 7zip.

    Batch file content:

    call "C:/Program Files (x86)/Notepad++/notepad++.exe" -multiInst -notabbar -nosession -noPlugin %*
    

    Ideas used from following posts: