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-08-01 20:45
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Want to use debug to write a small program that gets a program's return value (errorlevel) View 1,762 Replies 5
Original Poster Posted 2003-08-18 00:00 ·  中国 山东 烟台 莱山区 联通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
I know there is err2env
but I hope to make one myself
I hope everyone can help
Thanks~~
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 2 Posted 2006-08-22 23:13 ·  IANA 局域网IP(Private-Use)
初级用户
★★
Credits 177
Posts 52
Joined 2006-06-04 12:00
20-year member
UID 56562
Status Offline
I'm not very capable, I couldn't make it, so I'll bump the thread and hope some brother can help out.
Floor 3 Posted 2006-08-22 23:24 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
willsort ~~~~~ an expert's post, bump, nothing more to say

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 4 Posted 2006-08-23 15:00 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
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.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 5 Posted 2006-08-23 16:52 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Deleted
Floor 6 Posted 2006-10-30 11:51 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Although I don't know assembly, I have to bump the thread so everyone will come help you and provide you with materials..
Forum Jump: