Set SH = CreateObject("WScript.Shell"
SH.Run "%comspec% /c drive:\path\batchname.bat", 0, true
Set SH = Nothing
This will launch it in the background and pause script execution while it runs. To see the window as it runs change 0 to 1. To let the script continue while that batch runs, change true to false.
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.