Skip navigation

How do I set the default scripting engine in Windows 2000?

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:\&gt; cscript //h:cscript //s <br><br>

To switch back to WScript as the default, use the following command:


C:\&gt; cscript //h:wscript //s <br><br>
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish