Js shell opened cmd to run the start chrome command could not find chrome.exe.

problem description

IE
"windows chrome.exe " 

the environmental background of the problems and what methods you have tried



chrome.exepath
start chrome.exe 
activexie

related codes

/ / Please paste the code text below (do not replace the code with pictures)

 var objShell = new ActiveXObject("WScript.Shell");
 objShell.Run("cmd.exe /c start chrome http://www.baidu.com");

what result do you expect? What is the error message actually seen?

Ctrl+Rcmd,start chrome 
chromejscmdstart chrome
chrome"windows chrome.exe" 
Jan.17,2022

do you have an answer?


I find that I can't open chrome, when I use an administrator to run cmd.exe, but I can open

when I run cmd with a logged in user.
Menu