johnbuckley
Technical User
I'm trying to run a function using WScript, with the line
var oShell=WScript.CreateObject("WScript.shell"
However this only produces the error 'WScript is not defined'
Wscript is installed. If you put the function code in a text file with a .js extension it runs OK in windows.
Any ideas please?
John
var oShell=WScript.CreateObject("WScript.shell"
However this only produces the error 'WScript is not defined'
Wscript is installed. If you put the function code in a text file with a .js extension it runs OK in windows.
Any ideas please?
John