中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-08 21:48
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS疑难解答 & 问题讨论 (解答室) » How to judge whether the current program is executed successfully and know the next operation?
Printable Version  2,833 / 2
Floor1 ydfan8888 Posted 2018-05-18 09:10
初级用户 Posts 20 Credits 60
How to judge whether the current program is executed successfully and know the next operation?
Floor2 LoggerVick Posted 2018-05-18 11:47
中级用户 Posts 212 Credits 365
Floor3 DOSforever Posted 2018-06-30 19:22
金牌会员 Posts 2,239 Credits 4,639
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?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023