Notepad++ does start with command line parameters

Problem description

After installing octave-6.1.0-w64-installer.exe the default editor notepad++ cannot start with the default command line in Preferences/General: “notepad++ -n%I %f”

Invoking the editor generates the following Octave editor error message:
“Externer Editor kann nicht gestartet werden: notepad++ -n%I D:/Octave/Programme/test.m”

Reinstallation of Octave did not help.

Work around solution:

  1. Delete all command parameters in Preferences/Editor/General: “notepad++”
  2. Open the corresponding *.m file manually

What could be the reason, why ANY command line parameter prevents notepad++ from starting?

My system

  • OS: Windows 10
  • Octave version: Version 6.1.0

I a different home directory I have an older Version 4.2.1 installed which does not have this problem.

The command line argument should be -n%l (lowercase L). For some reason, it is -n%I (uppercase i) in your report.

Could that be the reason it is failing?

Thank you for the quick response.

Even with a lower case L it does not work. :frowning:
The error message is slightly different though: …notepad++ -n0 D:/Octave/Programme/test.m

Does it work if you open a command window (cmd) and paste that command?
If notepad++.exe is not in your search path (environment variable %PATH%), you might have to provide the full path to the Notepad++ executable.