Errorlevel
Command used in a batch file and the level generated if a program properly executed. Most programs generate an errorlevel of 0 if the program or command executed properly and error level 1 and above indicates that the program did not execute properly.
- Examples of how to use an errorlevel in a batch file can be found on our batch file page.
Also see: Error, Programming definitions
