|
| |
.SetEL[n] Series
These commands can be used to set the errorlevel anywhere inside a script or subroutine using ONLY builtin commands. Commands are dynamically adjusted, when necessary, to PERFORM
CONSISTENTLY under NT/2K/XP.
|
.Mt/\Cmd |
|
Description |
|
.SetEL123 |
|
This command will
(silently) set the errorlevel to 123. You can then check the exact errorlevel using the associated .ifEL123 command. |
|
.eSetEL123 |
|
This command is
escapified for use inside the ()'s of a
FOR loop. |
The common errorlevels of 0, 1, 2 and 3 are set using only commands from CCS-Internal, and are very fast.
Many other, less widely known, errorlevels can also be set using only the base utilities that come with all NT/2K/XP installations.
We currently provide commands for errorlevels -1, 0, 1, 2, 3, 4, 123, 129, 161, 255 and 9009.
There are also .ExitEL[n],
.ifEL[n] commands available for each value of [n].
|