Windows+R or the "start" command are pretty powerful. I can start Google Chrome with Windows + R "chrome". However, chrome would not start when I type "chrome" in a running cmd.exe - since it is not listed in PATH. So i wonder where "Run" looks up what to start?
I'm trying to get the same information programmatically and up until now I was fine checking if the "genericCommand
" or "genericCommand
.exe" exists within one of the PATH directories. Works for "notepad", "mspaint" etc. But not for "chrome".
I want to programmatically map a given command to the program executed when started with Windows run or the "start" command.
Why? Any ideas?