Prev | Current Page 381 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


if [/i] String1 CompareOp String2 Command [else Expression]
if CMDEXTVERSION Number Command [else Expression]
if DEFINED Variable Command [else Expression]
The following list describes each of the command line arguments.
/I Performs a case-insensitive comparison of the two strings. This feature is handy when you
expect the user to input a string, but don??™t know how the user will capitalize it. These comparisons
are generic, in that if both String1 and String2 are composed of numbers, the system
converts the strings to numbers and performs a numeric comparison.
String1 Specifies the input string; the first half of the comparison.
CompareOp Defines the comparison operator. Each three-letter comparison operator performs
a different comparison as described in the following list.
EQU Equal to
NEQ Not equal to
LSS Less than
LEQ Less than or equal to
GTR Greater than
GEQ Greater than or equal to
String2 Specifies the comparison string??”the second half of the comparison.
Command Specifies the command that you want to execute when the comparison is true.
else Expression Defines the else expression for the If command. When you use this syntax,
you must surround the If and Else portions of the statement in parentheses.


Pages:
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
wyciągarki profesjonalne wizualizacje 3d eko mama kasyno botox Kraków