China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-25 08:44
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to judge whether the current program is executed successfully and know the next operation? View 2,745 Replies 2
Original Poster Posted 2018-05-18 09:10 ·  中国 广东 深圳 电信
初级用户
Credits 60
Posts 20
Joined 2016-03-30 21:10
10-year member
UID 181540
Gender Male
Status Offline
How to judge whether the current program is executed successfully and know the next operation?
Floor 2 Posted 2018-05-18 11:47 ·  IANA 局域网IP(Private-Use)
中级用户
★★
Credits 365
Posts 212
Joined 2018-01-27 00:00
8-year member
UID 182622
Status Offline
很少上线的游客前来。
Floor 3 Posted 2018-06-30 19:22 ·  中国 上海 杨浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
If this program has an exit code, you can use errorlevel in batch processing to judge whether it is executed successfully. Generally, the exit code for normal completion is 0, and those greater than 0 have various problems.

" And be aware of the next operation"? The program has exited after execution. What operation is the next one asking you?
Forum Jump: