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-10 09:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [fixed] A very basic batch file question, but I just can't do it View 2,381 Replies 7
Original Poster Posted 2002-12-10 00:00 ·  中国 北京 联通
初级用户
Credits 179
Posts 26
Joined 2002-12-10 00:00
23-year member
UID 467
Gender Male
Status Offline
I want to start the Tianhui Chinese character support system first, and then run DM. How should this batch file be written? I hope some kind person can help me, many thanks

[ Last edited by HAT on 2008-11-6 at 18:09 ]
Floor 2 Posted 2002-12-10 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Wengier - 新DOS时代

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

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

Floor 3 Posted 2002-12-11 00:00 ·  中国 北京 联通
初级用户
Credits 179
Posts 26
Joined 2002-12-10 00:00
23-year member
UID 467
Gender Male
Status Offline
That's exactly what I did! But it doesn't work. It can only start TW.EXE, and then it tells me there's a command error. I put one line in AUTOEXEC: CALL DM.BAT, then made DM:
@ECHO OFF
TW
DM
It won't work
Floor 4 Posted 2002-12-11 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Isn't this recursively calling the DM.BAT file?
Wengier - 新DOS时代

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

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

Floor 5 Posted 2002-12-11 00:00 ·  中国 北京 联通
初级用户
Credits 179
Posts 26
Joined 2002-12-10 00:00
23-year member
UID 467
Gender Male
Status Offline
I've figured it out now, many thanks to the site admin for helping. I looked through a lot of old DOS books, but they all explained it too vaguely.
Floor 6 Posted 2002-12-30 00:00 ·  中国 湖北 武汉 电信
中级用户
★★
Credits 327
Posts 69
Joined 2002-12-01 00:00
23-year member
UID 377
Gender Male
Status Offline
Adding parameters after TW works a bit better. This is how I use it:
@ECHO OFF
tw /np /n3 > nul
DM /M
The OP can give it a try
Floor 7 Posted 2002-12-30 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
Run TW first and see if there are any errors. If there are, post the error message. If there aren't, then run DM and see if there are any problems. If there aren't, use this program segment. When using DM in a batch file, it's best to add the extension name to prevent files with the same name.

Teamwork !
Floor 8 Posted 2008-11-06 14:28 ·  中国 上海 电信
初级用户
★★
Credits 35
Posts 62
Joined 2008-10-12 21:46
17-year member
UID 128197
Gender Male
Status Offline
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
yishanju -4 2008-11-06 14:38
Forum Jump: