How do I set the default scripting engine in Windows 2000?
John Savill
September 24, 2000
1 Min Read
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
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like