Has anyone seen this before? I'm not sure what exactly is backwards.
Is it just the //h: arguments to cscript and wscript?
I created a one line script call whichscript.vbs, with only
'WScript.Echo WScript.FullName' in it. Then did the following at a
command prompt:
----------------------------------------------------------------------------------------
C:\>cscript //h:cscript
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
The default script host is now set to "cscript.exe".
C:\>whichscript.vbs
(This pops up an interactive window saying 'C:\WINDOWS
\System32\CScript.exe')
C:\>cscript //h:wscript
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
The default script host is now set to "wscript.exe".
C:\>whichscript.vbs
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
C:\WINDOWS\System32\CScript.exe
----------------------------------------------------------------------------------------