Local paths in WinSCP are resolved relatively to WinSCP startup directory. Not to a directory where
To make a path relative to
In your case that is:
It was always like this. Nothing has changed.
See https://winscp.net/eng/docs/local_path (note that this page didn't change ever since it was created in 2009 and the behavior is actually even older).
WinSCP.exe
is.
To make a path relative to
WinSCP.exe
directory, use %WINSCP_PATH%
.
In your case that is:
%WINSCP_PATH%\..\edit\Notepad++\Notepad++.exe
It was always like this. Nothing has changed.
See https://winscp.net/eng/docs/local_path (note that this page didn't change ever since it was created in 2009 and the behavior is actually even older).