I have a script that needs to run on multiple machines.
The problem is, if I open a command line and type in chrome
or chrome.exe
, I get the same error message that it is not recognized as an internal or external command…
I have already added it to my paths (as per screen shot below, see bottom entry in the paths) .
It works this way on other computers.
The command prompt has been restarted (as has the computer) since updating the paths.
Why does it not open Chrome as it does on my other machine(s)?
Whilst entering C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
directly into the command line and pressing enter does make Chrome launch, I don't see why the path is not working.
Best Answer
The problem is that you had the folder path and executable listed in your path:
You should omit
chrome.exe
and just put the folder path thatchrome.exe
is located in: