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-30 03:43
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to make CMD enter the root directory of drive C View 6,340 Replies 8
Original Poster Posted 2006-03-28 09:25 ·  中国 甘肃 兰州 电信
新手上路
Credits 6
Posts 1
Joined 2006-03-28 09:15
20-year member
UID 52921
Status Offline
I'm using the Windows 2000 operating system. Now when I type CMD, it defaults to entering c:\winnt\system32. Is there any way to directly go to c:\?
Floor 2 Posted 2006-03-28 10:53 ·  中国 北京 顺义区 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
Searching "Change the default path of DOS" in GOOGLE will naturally reveal the answer .........................
Floor 3 Posted 2006-03-29 10:11 ·  中国 广东 广州 中移铁通
中级用户
★★
Credits 256
Posts 93
Joined 2006-03-26 22:12
20-year member
UID 52853
Gender Male
From 广东
Status Offline
Open the cmd.
Press Enter after typing "cd\"
That's it.
Floor 4 Posted 2006-03-29 11:02 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 133
Posts 57
Joined 2006-03-15 23:12
20-year member
UID 52128
Status Offline
I used to know, it seems like modifying REGEDIT, but then I forgot. What the LZ means is that every time you open CMD, it directly jumps to c:\. I hope someone who knows can tell me.
Floor 5 Posted 2006-03-29 11:11 ·  中国 湖北 荆门 电信
荣誉版主
★★★
Credits 2,013
Posts 718
Joined 2006-02-18 07:07
20-year member
UID 50550
Status Offline
1. Right - click on the desktop, create a shortcut, and enter the command line: cmd /k cd\
2. Create a batch file c:\setup.bat with the content @cd\, then modify the AutoRun value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor in the registry to c:\setup.bat... Or directly change the autorun value to cd\, but I prefer to create a batch file so that I can set up the environment I like.

[ Last edited by 3742668 on 2006 - 3 - 29 at 11:16 ]
Floor 6 Posted 2006-03-29 22:21 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Searching with the keywords from the 2nd floor indeed can find the solution.
简单就是美
Floor 7 Posted 2006-03-30 22:55 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 300
Posts 137
Joined 2005-11-04 02:00
20-year member
UID 44559
Gender Male
Status Offline
Put a shortcut to CMD in the Quick Launch bar or on the desktop. The target is %windir%\system32\cmd.exe, and change the start in to C:\. That's how I've always used it. My start in is E:\DOS

PS: The default path of CMD in 2000 seems to be D:\Documents and Settings\username>
Floor 8 Posted 2006-03-31 00:06 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Originally posted by zjnbwdj at 2006-3-30 22:55:
The default path of CMD in 2000 seems to be D:\Documents and Settings\username>

Yes, the default path of CMD in Win2000, XP, and 2003 is like this. But I don't understand how useful it is for CMD to be in this directory?! I always like to change the default path to %SystemRoot%\System32

[ Last edited by JonePeng on 2006-3-31 at 00:07 ]
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 9 Posted 2006-03-31 07:05 ·  中国 湖北 荆门 电信
荣誉版主
★★★
Credits 2,013
Posts 718
Joined 2006-02-18 07:07
20-year member
UID 50550
Status Offline
I all change to the desktop, so that I don't need to open the directory when testing.
Forum Jump: