Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot change drive in command prompt using CD

24 Sep 2011   #1
voldemarz

Windows 7
 
 
Cannot change drive in command prompt using CD

When I try to switch to D drive it stays in C:

C:\Users\Valdis>cd d:
D:\

C:\Users\Valdis>cd D:\Downloads

C:\Users\Valdis>cd d:
D:\Downloads

C:\Users\Valdis>


Feels stupid to ask this question.. I checked cd Change Directory which confirms that I was doing it correctly. Any idea what could be a reason for this?

EDIT:
Ahh, stupid.. I just had to type the drive without CD to change it..


My System SpecsSystem Spec
.

24 Sep 2011   #2
Brink
Microsoft MVP

64-bit Windows 10
 
 

Hello Voldemarz,

You could do this by just typing D: and pressing enter.

Name:  cmd.jpg
Views: 217
Size:  23.0 KB


My System SpecsSystem Spec
24 Sep 2011   #3
voldemarz

Windows 7
 
 

yeah, i realized that just after the post
My System SpecsSystem Spec
.


24 Sep 2011   #4
Brink
Microsoft MVP

64-bit Windows 10
 
 

No problem. I'm happy to hear that you got it sorted.
My System SpecsSystem Spec
25 Sep 2011   #5
logicearth

Windows 8.1 Pro (x64)
 
 

Code:
cd /D D:\Downloads
My System SpecsSystem Spec
Reply

 Cannot change drive in command prompt using CD




Thread Tools





Similar help and support threads
Thread Forum
Change Command Prompt Default Directory
This is a simple registry hack to change the default directory you see when opening command prompt. I like to have it set to the OS root drive, but you can change it to whatever you like. This will keep you from having to use the "change directory" switch every time you open command prompt, which...
Customization
How do I change system attribute for all folders using command prompt?
Let me share the background quickly. I work at a school as Computer Applications Technology teacher. The students bring homework to school on their flashdrives, and though we have good antivirus software at school, the viruses on their home PC's will often do considerable damage to the data on...
Performance & Maintenance
Change Directory in Command Prompt
Anyone know how to do this in command prompt? I type "cd .." a few times to get to to C:\ Then when I type "cd e:\" I see E:\ below the command line but I'm still in C:\. Can anyone help? Edit: Nevermind, manage to get it working. Just had to type "E:" instead of using CD beforehand....
General Discussion
Change time to display OS from installation disk command prompt
Hey, how we all doing? I was stupid enough to manually delete my acronis files when I couldn't uninstall it the ordinary way. Now windows 7 gives a short BSOD after logo and computer restarts. Startup repair doesn't fix the problem, neither from my windows 7 usb or from laptop, I have...
Installation & Setup
Command Prompt to change primary monitor?
Hey, I'm working on a batch file to change a system's primary monitor before launching a game. Is there a DOS command to change the primary monitor on a system? Thanks!
General Discussion
Only Browse Network Drive from Command Prompt
Hi, I have an issue with the memory card on my HP OfficeJet 6310 all-in-one device. This maps the Z: drive to \\ip-address-of-device\memory_card If there is no memory card in the device and I try to access the Z: drive from Windows Explorer I get the error: --- Z:\ is no accessible. The...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App