I would like to know where START command on Windows finds the path to executable. For example, if I run START /W python and have no path to python.exe in my PATH environment variable it correctly finds the path and runs python. In my system it is C:\Python27\python.exe So, how START finds the correct path?
P.S.
If I write python via my command prompt (cmd.exe) it can not find the path to python.
Thank you!
When you use the START command from command line or batch file, or when you use the Run dialog, the systems follows the behaviour documented for ShellExecute or ShellExecuteEx API calls.
In general, the application will be searched in:
For a complete description read Application Registration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With