中国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-08-01 21:53
48,037 topics / 350,122 posts / today 2 new / 48,250 members
DOS开发编程 & 发展交流 (开发室) » Want to use debug to write a small program that gets a program's return value (errorlevel)
Printable Version  1,763 / 5
Floor1 willsort Posted 2003-08-18 00:00
元老会员 Posts 1,512 Credits 4,432
I know there is err2env
but I hope to make one myself
I hope everyone can help
Thanks~~
Floor2 BAT Posted 2006-08-22 23:13
初级用户 Posts 52 Credits 177
I'm not very capable, I couldn't make it, so I'll bump the thread and hope some brother can help out.
Floor3 electronixtar Posted 2006-08-22 23:24
铂金会员 Posts 2,672 Credits 7,493
willsort ~~~~~ an expert's post, bump, nothing more to say
Floor4 本是 Posted 2006-08-23 15:00
银牌会员 Posts 790 Credits 2,227
Read the keyboard buffer, do a little processing, set mov al,_ret_code/mov ah,4Ch/int 21h, and that should do it!
I just don't know how to return errorlevel in an NT DOS window.
Floor5 GOTOmsdos Posted 2006-08-23 16:52
铂金会员 Posts 1,827 Credits 5,154
Deleted
Floor6 lxmxn Posted 2006-10-30 11:51
版主 Posts 4,938 Credits 11,386

  Although I don't know assembly, I have to bump the thread so everyone will come help you and provide you with materials..
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023