There're 2 ways to run your VBScript or JScript under Windows, either through CScript.exe or WScript.exe
What's the difference about those two?
- They are all almost the same, just different in the way displaying the output. While CScript.exe displays output in a Console, WScript.exe display the output in a Dialog.
Well, when you run the script, the default host will be chosen certainly. But you can switch between them.
If you want CScript.exe to be the default host
cmd> CScript //H:CScript
or WScript to be the default one
cmd> WScript //H:WScript