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-06-25 21:39
Original Poster Posted 2003-05-19 00:00 ·  中国 湖南 电信
初级用户
Credits 105
Posts 1
Joined 2003-05-19 00:00
23-year member
UID 2219
Gender Male
Status Offline
In the computer lab, when I entered DOS, I couldn't use commands like cd, cd.., del, and so on! I once saw a command in
a book! doskey, so:

D:\Masm>cd..
Bad command or file name

D:\Masm>cd d:\
Bad command or file name

D:\Masm>del
Bad command or file name

D:\Masm>doskey/reinstall
DOSKey installed

D:\Masm>doskey cd=(Enter)

D:\Masm>doskey cd..=(Enter)

D:\Masm>cd..
Bad command or file name

D:\Masm>cd c:\windows
Bad command or file name


D:\Masm>

Why is this????? Please enlighten me, experts!!!!!!!!
Floor 2 Posted 2003-05-20 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Maybe it wasn't DOSKEY, but another program that caused it.
Wengier - 新DOS时代

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

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

Floor 3 Posted 2003-05-20 00:00 ·  中国 湖北 武汉 硚口区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
You entered the masm directory—are the commands you want to use in this directory?? Please use 【cd..】 to go back to the parent directory, then enter the corresponding directory to execute the related commands..
A few of the ways you used those commands are wrong... Please use the 【/?】 parameter under DOS to check the correct syntax of the commands..
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 4 Posted 2003-06-03 00:00 ·  中国 陕西 汉中 电信
初级用户
Credits 134
Posts 8
Joined 2003-06-03 00:00
23-year member
UID 3040
Gender Male
Status Offline
Don't forget, all of DOS's internal commands (including cd, del, etc.) are in the command.com file, and these internal commands in command.com can be modified. He did this on purpose to test everyone.
Floor 5 Posted 2003-06-03 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Hehe, if that's the case, then just use EDIT to look inside the COMMAND.COM file and see what command it corresponds to.
Wengier - 新DOS时代

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

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

Floor 6 Posted 2003-06-03 00:00 ·  中国 陕西 汉中 电信
初级用户
Credits 134
Posts 8
Joined 2003-06-03 00:00
23-year member
UID 3040
Gender Male
Status Offline
Super Moderator:
command.com is not modified with edit. Also, I forgot to explain that the way the command line below is written is wrong.
D:\Masm>cd c:\windows
Bad command or file name
A prompt like this appears because an incorrect command was entered.
Forum Jump: