Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use notepad++ as external editor for 7zip [closed]

Tags:

notepad++

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

like image 428
Robert DROP TABLE STUDENTS Avatar asked Oct 21 '25 23:10

Robert DROP TABLE STUDENTS


1 Answers

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:

  • How to use Jedit as the external editor of 7zip
  • Use Notepad++ as Git Bash editor
like image 165
Robert DROP TABLE STUDENTS Avatar answered Oct 26 '25 19:10

Robert DROP TABLE STUDENTS