Prev | Current Page 385 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


You can retain some older arguments in memory when you have command extensions enabled.
The Shift command will accept a numeric argument that tells where to begin shifting arguments.
For example, when the command appears as Shift /2, the values in %0 and %1 are unaffected. However,
Shift will shift the arguments starting with %2 so that %2 now contains the value from %3.
Using the TimeOut Utility
The TimeOut utility provides a unique feature in that you can tell it to wait for a specified time
period no matter what the user does. Consequently, unlike the Choice command, when you tell
TimeOut to wait 30 seconds, it waits the entire time period even if the user presses a key. In addition,
the TimeOut utility doesn??™t display a message for the timeout, so you can use this utility where
silence is necessary (such as a background task). This command uses the following syntax:
TIMEOUT [/T] timeout [/NOBREAK]
The following list describes each of the command line arguments.
/T timeout Specifies the timeout value. The command line switch is optional. You may specify
any value from ??“1 to 99999 seconds. A value of ??“1 means that the utility waits indefinitely for
a key press.


Pages:
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
Chuck Mangione kamery przemysłowe Mech Matthew Mills Brian May