Prev | Current Page 421 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


//T:TimeLimit Limits the maximum time the script can run to the number of seconds specified.
Normally, there isn??™t any timeout value. You??™d use this switch in situations where a script
might end up in a continuous loop or is unable to get the requested information for other reasons.
For example, you might use this switch when requesting information on a network drive.
//X Starts the script in the debugger. This allows you to trace the execution of the script from
beginning to end.
EXECUTING SCRIPTS 165
//U Outputs any console information using Unicode instead of pure ASCII. You use this
switch on systems where you need to support languages other than English. This is a CScriptonly
option.
Notice that all of these command line switches start with two slashes (//) to differentiate them
from switches you may need for your script. WSH passes script arguments to your script for processing.
Script arguments can be anything including command line switches of your own or values
needed to calculate a result.
NOTE Users of older versions of CScript and WScript may remember the //C and the //W
switches used to switch the default scripting engines.


Pages:
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
Noclegi Władysławowo e-lady traktorki ogrodowe need cash fast bad credit prace wysokościowe