You simply use Set WSHShell = CreateObject("WScript.Shell") : Is it possible to use the wscript object when using vbscript within this : program? : Example: Set WSHShell = WScript.CreateObject("WScript.Shell") : This returns an error...but I can use this same command in a native vbs : script without any problem.
|