中国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-13 03:03
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » I always get errors when editing AUTOEXEC.BAT
Printable Version  1,029 / 1
Floor1 lmq Posted 2003-11-06 00:00
中级用户 Posts 86 Credits 420
Hello moderator:
Thank you for your answer to my question about how to load UCDOS, but there is still one thing I don't understand,
when I edit AUTOEXEC.BAT, this line always appears: BAD COMMAND OR FILE NAME
I know it means an invalid command, but I don't know where the mistake is. Below is the AUTOEXEC.BAT file I edited
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=d:\
set tmp=d:\
path=a:\
UCDOS.BAT
LH MSCDEX.EXE /D:mscd001 /L:z

:QUIT

Please help explain it.
Thank you very much
Floor2 如是大师 Posted 2003-11-06 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
If you want to call another batch file from autoexec, please use the CALL command.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023