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 16:59
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Help: When entering the command CD WINDOWS under DOS, it shows invalid directory View 1,597 Replies 3
Original Poster Posted 2006-11-30 05:53 ·  中国 陕西 西安 电信
新手上路
Credits 4
Posts 1
Joined 2006-11-30 05:18
19-year member
UID 72144
Gender Male
Status Offline
Help:

Typing the command CD WINDOWS under DOS shows invalid directory

(It is confirmed that there is a WINDOWS folder)

Please ask the experts for guidance!

[ Last edited by qihang01 on 2006-11-29 at 04:56 PM ]
Floor 2 Posted 2006-11-30 06:57 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
It's a good habit to do `dir` first and then `cd`.

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 3 Posted 2006-12-07 07:18 ·  中国 山东 青岛 中移铁通
初级用户
Credits 63
Posts 33
Joined 2006-12-04 05:49
19-year member
UID 72514
Gender Male
Status Offline
Please confirm that your Windows directory is in the current directory. If not, you need to use the "/d" parameter of the cd command and an absolute path, for example:
cd /d c:\windows
Floor 4 Posted 2006-12-07 07:56 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
The `cd` command in DOS does not have the `/d` parameter.
Forum Jump: