>>105718426Running executables reachable via the PATH environment is actually default DOS behavior, even.
So it's 40+ years old.
Also, afaik / iirc, it's only used when starting a process via a shell - which is not the default when creating a Win 32 child process. If you start a child process the regular way, you actually NEED to supply a full path. And there's a Win32 API to get the system folder - because it doesn't have to reside in C:\Windows of course.
This probably isn't even a problem created by the Notepad++ author themselves, but by whatever people created the installer-toolkit the author used to build his sofware's installer.