home *** CD-ROM | disk | FTP | other *** search
- Documentation for
- SETERR.EXE
- by Duane Paulson
-
- A batch file enhancer for those who occasionally run one batch file out of
- another batch file.
-
- SETERR sets the DOS errorlevel to any value between 0 and 255.
-
- Examples:
-
- seterr 0<cr> Sets the DOS errorlevel to 0.
-
- seterr 10<cr> Sets the DOS errorlevel to 10.
-
- seterr 255<cr> Sets the DOS errorlevel 10 255.
-
- Negative numbers are not allowed, and will be converted to positive numbers.
-
- Suggestions for use:
-
- Use with a batch file called by another batch file to return an errorlevel
- to the first batch file for conditional processing.
-