When launching Notepad++ from CMD shell and using a filename as first parameter (file to load is in the same directory), this file cannot be found by Notepad++. This error only occurs when within Notepad++ there had been loaded a File from another directory previously.
Notepad++ seems to access the directory of the file in the last open tab, instead of checking the launch directory.
When there was no file opened in Notepad++ previously, it correctly loads the file from the launch directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When launching Notepad++ from CMD shell and using a filename as first parameter (file to load is in the same directory), this file cannot be found by Notepad++. This error only occurs when within Notepad++ there had been loaded a File from another directory previously.
Notepad++ seems to access the directory of the file in the last open tab, instead of checking the launch directory.
When there was no file opened in Notepad++ previously, it correctly loads the file from the launch directory.