Set objShell = CreateObject("WScript.Shell"
objShell.Run "C:\startup.bat"
There is an Execute method of the RegExp object, but that's for doing expression searches. There is also an Execute statement, but that's for executing commands stored in string variables. Jon Hawkins
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.