I have a line of code:
objShell.ShellExecute strApp, strCommand, "", "RunAs", 1
strApp is either cscript.exe and wscript.exe
strCommand is the path of a .wsh file that I create to run a second script.
I need my main script to run this command, and then WAIT for the strApp to finish before...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.