Came across this on usenet. Copied here so I’ll not lose it!
“WScript is an object exposed by the WScript and CScript script hosts. Since the
Microsoft Script Control is a different host, it does not have that internal
method available to it.
You can work around that by adding the WScript namespace to a script control
instance, assuming that the original host creating the instance is itself a
If your script control is referenced as sc, then once you initialize it you can
add WScript using the native name using the Script Control’s AddObject method,
Sc.AddObject “WScript”, WScript