Windows Script Host is a language-independent scripting host for 32-bit Windows operating systems. The Windows Script Host CSCRIPT command-line utility and the WSCRIPT graphical utility support many command-line parameters, as shown in Table 12.
Parameter | Description |
---|---|
//B | Disables command prompt user input |
//D | Enables active debugging |
//E:engine | Uses the specified engine at script execution |
//H:CSCRIPT | Sets CSCRIPT as the default execution host |
//H:WSCRIPT | Sets WSCRIPT as the default execution host |
//I | By default, enables command prompt user input |
//JOB | Executes a WSC job |
//LOGO | By default, displays logo at script execution |
//NOLOGO | Suppresses logo at script execution. |
//U | For CSCRIPT only, specifies to use Unicode for I/O operations |
//S | Saves options on a per-user basis |
//T: seconds | Specifies the maximum time, in seconds , a script is allowed to run |
//X | Executes the current script within the debugger |
//? | Displays help context |