I have a vb script that starts an exe (or even a process without gui):
strCom = "Start calc"
WSHShell.Run(strCom)
It doesn’t start the program, when I open task manager I can’t see it.
But when I write the command “Start calc” directly in the command line it opens it.
How can I do it using the script?
startis built-in tocmd.exe; it’s not an actual program.WSHShell.Runtakes a physical file , not acmdbuilt-in.Therefore, you can write
WSHShell.Run("calc.exe")