In command line type:
wscript //H:cscript
or
wscript //H:wscript
This registers either Cscript.exe or Wscript.exe as the default script host for running scripts. If neither is specified, the default is Wscript.exe.
In command line type:
wscript //H:cscript
or
wscript //H:wscript
This registers either Cscript.exe or Wscript.exe as the default script host for running scripts. If neither is specified, the default is Wscript.exe.