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-12 20:30
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » So much to learn. Question: how can I find out the value of errorlevel? View 835 Replies 1
Original Poster Posted 2003-07-21 00:00 ·  中国 台湾 中华电信(HiNet)数据中心
中级用户
Credits 283
Posts 39
Joined 2003-07-12 00:00
23-year member
UID 6808
Gender Male
Status Offline
batchman getkey
if errorlevel 50 if not errorlevel 51 goto sel_m
How do I tell which command line 50 refers to?
If there is no batchman, how do I judge it then? Is it the same?
I only know how chioce is judged!
I just started learning DOS, and there is a lot I don't understand. Please, everyone, help me out!
我不是菜,是汤!!!
Floor 2 Posted 2003-07-21 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
Take a careful look here: http://newdos.yginfo.net/dosuse.htm, and a lot of questions will become clear!
Forum Jump: