----^--->
/\

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

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

.SetELn

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

.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].


/\
//\\
//
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\