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-13 01:09
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » I always get errors when editing AUTOEXEC.BAT View 1,027 Replies 1
Original Poster Posted 2003-11-06 00:00 ·  中国 吉林 长春 联通
中级用户
★★
Credits 420
Posts 86
Joined 2003-06-03 00:00
23-year member
UID 3187
Gender Male
Status Offline
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
Floor 2 Posted 2003-11-06 00:00 ·  中国 河南 信阳 联通
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
If you want to call another batch file from autoexec, please use the CALL command.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Forum Jump: