To All:
The ERRORLEVEL value in a DOS environment is generally produced when an external program exits, but in some situations we need to produce the errorlevel value ourselves.
The following batch files show several methods for setting ERRORLEVEL. Because of system-related factors, none of them have been tested. If anyone is willing to do so, I'd be very grateful for corrections!
Also, for a program to get the errorlevel value, see:
http://model.chinajewelry.net/dos/dosbbs/dispbbs.asp?boardID=6&ID=9358
The ERRORLEVEL value in a DOS environment is generally produced when an external program exits, but in some situations we need to produce the errorlevel value ourselves.
The following batch files show several methods for setting ERRORLEVEL. Because of system-related factors, none of them have been tested. If anyone is willing to do so, I'd be very grateful for corrections!
Also, for a program to get the errorlevel value, see:
http://model.chinajewelry.net/dos/dosbbs/dispbbs.asp?boardID=6&ID=9358
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
