Prev | Current Page 360 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

The new /CS command line switch lets you make choices case sensitive, so you can
have 26 additional menu choices. However, notice that /T no longer takes both a default option and
a timeout value. The new form requires that you provide a choice using the /D command line
switch instead. You must also provide the /M command line switch to specify optional text. The following
sample code performs the same task, but the first form works in Windows XP and earlier,
while the second form works in Vista and Server Core.
Old Choice Command Form
CHOICE /C:N /N /T:N,15
Vista and Server Core Choice Command Form
CHOICE /C N /N /T 15 /D N
NOTE Vista and Server Core provide alternatives for the Choice command. The TimeOut utility
provides a specific timeout value without requiring the user to make a choice. You can learn more
about this utility in the ???Using the TimeOut Utility??? section of the chapter. The WaitFor utility
lets you use signaling between systems or applications on the same system. One application
sends a signal and another reacts when it receives the signal. You can learn more about this utility
in the ???Using the WaitFor Utility??? section of the chapter.


Pages:
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
wyposażenie siłowni sypialnia bukmacher poker online poker