Hello
I understand what the %path% and %pathext% variables are.
typing: "notepad" or "calc" in the command prompt from any directory will open notepad.exe and calc.exe because their directories are in %path% and ".exe" is in %pathext%.
On the other hand "wordpad.exe" and "chrome.exe are not in %path% so typing "wordpad" or "chrome" from a random directory doesn't work.
however, typing "start wordpad" or "start chrome" does work. How come? How does the start command know where to find the executables?
Thanks in advance!
I understand what the %path% and %pathext% variables are.
typing: "notepad" or "calc" in the command prompt from any directory will open notepad.exe and calc.exe because their directories are in %path% and ".exe" is in %pathext%.
On the other hand "wordpad.exe" and "chrome.exe are not in %path% so typing "wordpad" or "chrome" from a random directory doesn't work.
however, typing "start wordpad" or "start chrome" does work. How come? How does the start command know where to find the executables?
Thanks in advance!
My Computer
- OS
- Windows 7 Ultimate x64