Hi im trying to invoke runas as different user and open a .exe application from my vbscript.
I have tried to use WshShell Exec() method but not sure how to pass in the runas parameter. Tried with WshShell.Run() method but it throw a runtime error. Below is my sample code
Dim path
Dim WshShell...
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.