Dim wsh
Set wsh = WScript.CreateObject("Wscript.Shell"
wsh.run "\\myserver\myshare\myexe.exe",,True
where the True means wait on completion then continue procesing the script, this is not 100% successfull as if the program starts a new thread and terminates the first one the wsh.run will presume it has completed and will carry on with the script processing.
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.