Original Poster
Posted 2008-11-05 17:39 · 中国 河南 郑州 联通
初级用户
★
Credits 24 Posts 11 Joined 2008-10-28 20:24 17-year member UID 129393 Gender Male
Status Offline
Why can't I jump to the text under drive D by using `cd d:\text` in the root directory of drive C now?
Floor 2
Posted 2008-11-05 18:08 · 中国 重庆 电信
版主
★★★★★
Credits 9,023 Posts 5,017 Joined 2007-05-31 19:39 19-year member UID 89899 Gender Male
Status Offline
Floor 3
Posted 2008-11-05 21:46 · 中国 河南 郑州 联通
初级用户
★
Credits 24 Posts 11 Joined 2008-10-28 20:24 17-year member UID 129393 Gender Male
Status Offline
Can the friend of the 2nd floor answer again what does cd /d mean? I check the reference book and there is no /d switch for cd
Floor 4
Posted 2008-11-05 22:24 · 中国 上海 虹口区 电信
金牌会员
★★★★
Credits 4,639 Posts 2,239 Joined 2005-01-30 00:00 21-year member UID 35785 Gender Male
Status Offline
There is no /d switch under DOS. Under DOS (if using your own COMMAND.COM), you can't directly change the drive letter and directory at the same time. If you do "cd d:\text", and d: is already in the \text directory, you still need to type d: to do so.
Floor 5
Posted 2008-11-06 01:07 · 美国 惠普HP
版主
★★★★★
Credits 9,023 Posts 5,017 Joined 2007-05-31 19:39 19-year member UID 89899 Gender Male
Status Offline
The reason is in floor 4.
/d is a switch only available in 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.
Floor 6
Posted 2008-11-27 13:48 · 中国 上海 黄浦区 电信
初级用户
★★
Credits 35 Posts 62 Joined 2008-10-12 21:46 17-year member UID 128197 Gender Male
Status Offline
Yeah, only in cmd there is the /d parameter!
Floor 7
Posted 2008-11-27 16:55 · 中国 北京 联通
高级用户
★★
Credits 652 Posts 193 Joined 2005-09-25 00:00 20-year member UID 42822
Status Offline
xcopy also only has the /i switch under cmd
ディスケット オペレーティン グシステム
Floor 8
Posted 2008-11-27 16:59 · 中国 黑龙江 大兴安岭地区 联通
初级用户
★★
Credits 190 Posts 101 Joined 2008-11-23 14:58 17-year member UID 131841 Gender Male
Status Offline
It's not enough to just transfer the directory; you also need to transfer the drive letter.
Forum Jump:
— Select —
站务公告 & 版主讨论
意见反馈 & 网友交流
DOS学习入门 & 精彩文章 (教学室)
DOS疑难解答 & 问题讨论 (解答室)
DOS启动盘 & LOGO技术 (启动盘室)
DOS批处理 & 脚本技术(批处理室)
DOS媒体世界 & 网络技术 (多媒体室)
DOS汉化世界 & 中文系统 (中文化室)
DOS开发编程 & 发展交流 (开发室)
DOS软件下载 & 游戏分享 (下载室)
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区
其它操作系统综合讨论区
WinPE、PowerShell及其它命令行系统专区
贴图灌水、文学娱乐专区
网络日志(Blog)
论坛回收站
├ 链接失效,待修正