Iam Presently working with windows scripting host.
What is the VBScript equivalent of VB's ShellExecute.?
I need it to open an exe file
Printable View
Iam Presently working with windows scripting host.
What is the VBScript equivalent of VB's ShellExecute.?
I need it to open an exe file
I'm pretty sure the Shell statement will work with priveledged VBScript running (and not ASP).
You would create an instance of the shell object, and call it's run method.
VB Code:
Dim WshShell Set WshShell=CreateObject("Wscript.Shell") WshShell.Run "iexplore.exe"
Hope this helps.