| SETERROR | Not in LE |
|
|
||
| Purpose: | Set the ERRORLEVEL value |
| Format: | SETERROR errorlevel |
| errorlevel | New value for ERRORLEVEL |
Usage:
SETERROR sets the value of the ERRORLEVEL internal variable and the last-error code in Windows to the specified value.
See also IF.