----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

.ExitELn

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Types of
.Mount/\Commands

.CrystalClear | .ExactName | .ExitELn | .GetValue | .ifCondition | .ifELn | .IsPattern | .ListValue | .NetValue | .NowValue | .RedirRapids | .ReliableReporting | .RestoreValue | .SetELn | .ValueEcho

.ExitEL[n] Series

These commands can be used to set the errorlevel when exiting a script or subroutine using ONLY builtin commands.  Commands are dynamically adjusted, when necessary, to PERFORM CONSISTENTLY under NT/2K/XP.

.Mt/\Cmd

  Description
.ExitEL123   This command will (silently) set the errorlevel to 123. and then (GOTO :EOF).  This is useful for setting an errorlevel upon exiting a script or a subroutine.  You can then check the exact errorlevel using the associated .ifEL123 command.

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 .SetEL[n], .ifEL[n] commands available for each value of [n].


/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\