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

64-bit Windows 10 Pro
 
 

Hello Voldemarz,

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

Cannot change drive in command prompt using CD-cmd.jpg


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

64-bit Windows 10 Pro
 
 

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

Windows 10 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
How do I change to Basic Windows 7 theme through command prompt?
I'm having problems with my computer...isn't everyone on this forum? (excluding all you experts of course) Anyway, I accidentally changed the theme to Windows Classic and it prompted a very undesirable feature. None of the programs run through Windows Explorer will load! Control Panel, My Computer,...
Themes and Styles
How do I change to Basic Windows 7 theme through command prompt?
I'm having problems with my computer...isn't everyone on this forum? (excluding all you experts of course) Anyway, I accidently changed the theme to Windows Classic and it prompted a very undesirable feature. None of the programs run through Windows Explorer will load! Control Panel, My Computer,...
Themes and Styles
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
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
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


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 20:06.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App