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-02 20:32
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Recommendation] Teaching of Batch Processing View 78,280 Replies 303
Floor 16 Posted 2004-05-24 00:00 ·  中国 重庆 南岸区 电信
初级用户
Credits 257
Posts 38
Joined 2004-05-20 00:00
22-year member
UID 24855
Gender Male
Status Offline
Is anyone hearing my question? I've always been confused about the difference between INT 20 and the 4C of INT 21. I just know that 4C is a bit better, but why does the teaching post use INT 20 after using 4C in DEBUG? Can anyone answer me?
Floor 17 Posted 2004-05-25 00:00 ·  中国 四川 绵阳 电信
初级用户
Credits 130
Posts 6
Joined 2004-05-25 00:00
22-year member
UID 25265
Gender Male
Status Offline
Very good, learned a lot
请多多帮忙,谢谢谢谢!
Floor 18 Posted 2004-05-28 00:00 ·  中国 陕西 西安 联通
初级用户
Credits 113
Posts 2
Joined 2004-02-20 00:00
22-year member
UID 17997
Gender Male
Status Offline
Not bad. This is what I need. Thanks
Floor 19 Posted 2004-05-28 00:00 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
Two questions:
Choice should be an external command, right? Not all machines can use this command...

Another:
C.BAT
@ECHO OFF
ECHO ------ COMPILE %1 ------
FOR1 %1; >NUL ;What do these two commands mean?
FOR2 >NUL ;It doesn't seem to make sense to me!
@ECHO ON
Floor 20 Posted 2004-06-01 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 118
Posts 4
Joined 2004-03-07 00:00
22-year member
UID 19451
Gender Male
Status Offline
Is there any relevant book that introduces batch processing?
Floor 21 Posted 2004-06-02 00:00 ·  中国 重庆 云阳县 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
Why can't I run that assembly content in DEBUG?
Floor 22 Posted 2004-07-13 00:00 ·  中国 山东 烟台 联通
中级用户
Credits 293
Posts 42
Joined 2003-10-17 00:00
22-year member
UID 11396
Gender Male
Status Offline
Mm, I was just about to take a look
Floor 23 Posted 2005-12-12 02:20 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
It seems that this post is still very valuable, so it is now pinned again.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 24 Posted 2005-12-12 10:20 ·  中国 河北 秦皇岛 电信
新手上路
Credits 2
Posts 1
Joined 2005-12-12 08:32
20-year member
UID 46962
Status Offline
Thanks
Floor 25 Posted 2005-12-15 03:03 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 306
Posts 81
Joined 2003-05-10 00:00
23-year member
UID 1988
Gender Male
Status Offline
Originally posted by Tornado at 2003-5-4 00:00:
I know the first post. Excuse me, master, where is the content of the second post? Are there any books on this aspect?

I took the basic DOS course in college in 1994, almost all of it was covered. Unfortunately, my textbook was borrowed by a classmate and not returned. Fortunately, I learned it very thoroughly.
Also, I read the help that comes with DOS 6.22, which is very complete.

[ Last edited by Human on 2005-12-15 at 03:09 ]
玩DOS,还是我76年出生的人熟...
Floor 26 Posted 2005-12-17 15:13 ·  中国 广东 广州 白云区 电信
初级用户
★★
Credits 152
Posts 74
Joined 2005-12-01 23:06
20-year member
UID 46314
Status Offline
Ha~~~My DOS is all self-taught!
Floor 27 Posted 2005-12-26 15:42 ·  中国 河南 许昌 联通
新手上路
Credits 4
Posts 2
Joined 2005-12-12 15:43
20-year member
UID 46997
Status Offline
I'm so grateful that I don't know how to express it. It's the poster who made me find this article in confusion. I really thank you!
Floor 28 Posted 2005-12-27 02:42 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 306
Posts 81
Joined 2003-05-10 00:00
23-year member
UID 1988
Gender Male
Status Offline
Originally posted by bush at 2004-5-28 00:00:
Two issues:
Choice should be an external command? Not all machines can use this command...


Also:
C.BAT
@ECHO OFF
ECHO ------ COMPILE %1 ------
FOR1 %1; >NUL ...



Choice is an external command. In 2000 and XP, SET is recommended; SET is an internal command. If your batch script needs to work under both 98 and XP, you should first detect the OS version using environment variables, then branch to choose between Choice or SET.
FOR1 and FOR2 should be the names of two programs.

[ Last edited by 人类 on 2005-12-27 at 02:50 ]
玩DOS,还是我76年出生的人熟...
Floor 29 Posted 2005-12-27 15:40 ·  中国 广东 汕头 澄海区 电信
新手上路
Credits 2
Posts 2
Joined 2005-12-27 15:14
20-year member
UID 47982
Status Offline
Thanks for sharing
Floor 30 Posted 2006-03-14 22:10 ·  中国 河北 中移铁通
初级用户
Credits 117
Posts 10
Joined 2005-04-29 00:00
21-year member
UID 38660
Gender Male
Status Offline
Favorited...
Forum Jump: