|
| |
.ifEL[n] Series
These commands are used to check for an exact errorlevel within a script, unlike IF Errorlevel n,
which checks for an errorlevel greater than or equal to n. Commands are dynamically adjusted, when necessary, to PERFORM
CONSISTENTLY under NT/2K/XP/K3.
|
.Mt/\Cmd |
|
Description |
|
.ifEL123 |
|
This command will
check for exactly errorlevel 123. Syntax is exactly the same as the builtin
IF command, including the optional ELSE
clause. |
We currently provide commands for errorlevels -1, 0, 1, 2, 3, 4, 123, 129, 161, 255 and 9009.
There are also .SetEL[n],
.ExitEL[n] commands available for each value of [n].
|