A. By default, when you run a script, it executes in the WScript shell, and the system displays all interaction with the user in pop-up windows. You can modify the default script engine to be CScript so that the system displays all output in a command window.
To change the default scripting engine from WScript to CScript, type the following command at a system prompt:
C:\> cscript //h:cscript //s
To switch back to WScript as the default, use the following command:
C:\> cscript //h:wscript //s