-H-
-I-
IF
The IF command provides conditional comand execution.
Syntax:
1. IF [NOT] ERRORLEVEL level command
2. IF [NOT] [/I] str1==str2 command
3. IF [NOT] EXIST file command
4. IF [/I] val1 op val2 command
5. IF CMDEXTVERSION version command
6. IF [NOT] DEFINED varname command
7. IF test (command) ELSE (command)
Switches:
| /I | Specifies string comparisons are to be case insensitive. |
| -A acct | Execute thee service using the specified account name. |
| -P pwd | Logon to the specified account name using the specified password. |
| -F | Force the process kill. |
| S | Success audit. |
| F | Failure audit. |
| I | Information event. |
| W | Warning event. |
| E | Error event. |
| /F | Force applications to close without saving un-saved data. |
| /E | Enable extended features |
| /C | Clear screen before displaying page of output. |
| /P | Expand form-feed characters. |
| /S | Collapse multiple blank lines into one. |
| /Tn | Expand tabs to column n. |
| +n | Start ouput at line n. |
| Pn | Display the next n lines. |
| Sn | Skip the next n lines. |
| F | Display the next file. Only applicable to MORE(3). |
| Q | Quit. |
| = | Show line number. |
| ? | Show help. |
| Spacebar | Display next page. |
| Enter | Display next line. |