标题: 问下关于cd跳转目录的问题
[打印本页]
作者: tiankongshang
时间: 2008-11-5 17:39
标题: 问下关于cd跳转目录的问题
我现在C盘的根目录下,为什么用cd d:\text无法跳转到D盘的text下?
作者: HAT
时间: 2008-11-5 18:08
作者: tiankongshang
时间: 2008-11-5 21:46
2楼的朋友能不能再解答一下cd /d是什么意思?
我查工具书cd没有/d这个开关
作者: DOSforever
时间: 2008-11-5 22:24
DOS 下没有 /d 这个开关,DOS 下(如果用自己的 COMMAND.COM)不能直接同时转盘符和目录,你 cd d:\text ,d: 已经在 \text 这个目录了,你还要输入 d: 才可以。
作者: HAT
时间: 2008-11-6 01:07
标题: Re 3楼
原因见4楼
/d是cmd下才有的开关
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.
C:\Test>cd /?
Displays the name of or changes the current directory.
CHDIR
CHDIR
CD
CD
.. Specifies that you want to change to the parent directory.
Type CD drive: to display the current directory in the specified drive.
Type CD without parameters to display the current drive and directory.
Use the /D switch to change current drive in addition to changing current
directory for a drive.
作者: wwmmc
时间: 2008-11-27 13:48
是啊,只有在 cmd 下 才有 /d 这个参数啊!
作者: alchemist
时间: 2008-11-27 16:55
xcopy 也是只有在cmd 下才有 /i 开关的
作者: Qtwdftxvt
时间: 2008-11-27 16:59
仅仅转目录是不行的,还要转盘符