Windows Script Host


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.

Table 12: Windows Script Host parameters.

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




Windows Admin Scripting Little Black Book
Windows Admin Scripting Little Black Book (Little Black Books (Paraglyph Press))
ISBN: 1933097108
EAN: 2147483647
Year: 2004
Pages: 89

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net