These commands are actual IF statements which are dynamically generated when loading the .Mount/\Command Set. They will evaluate to TRUE or FALSE based on the status of their "Condition".
Most .if commands have an equivalent .ifNot that evaluates exactly
opposite.
|
.Mt/\Cmd |
|
Description |
|
.ifDOW |
|
TRUE if "Day of Week" is present in the output of
DATE /T. Otherwise FALSE. |
|
.ifOK |
|
TRUE if errorlevel is not 1 or more. Otherwise FALSE. |
|
.ifErr |
|
TRUE if errorlevel is 1 or more. Otherwise FALSE. |
|
.ifNT |
|
TRUE if the OS is Windows NT. Otherwise FALSE. |
|
.if2K |
|
TRUE if the OS is Windows 2000. Otherwise FALSE. |
|
.ifXP |
|
TRUE if the OS is Windows XP. Otherwise FALSE. |
|
.ifK3 |
|
TRUE if the OS is Windows Server 2003. Otherwise FALSE. |
|
.ifServer |
|
TRUE if run on a server. Otherwise FALSE. |
|
.ifWkstn |
|
TRUE if run on a workstation. Otherwise FALSE. |
|
.ifDC |
|
TRUE if run on a Domain Controller. Otherwise FALSE. |