Windows 7 Forums


Reply
Thread Tools

[SOLVED] Can't cd to D: in Command Window

 
 
jrsyangl jrsyangl is offline
New Member
Join Date: Sep 2011
Posts: 4
Thanked: 0
 
      09-21-2011
I have a Dell T1600, W7 pro 64. In the Windows Command window, I can not cd from the C: directory to the anything in the D: directory, which is on a different disk. I can do a dir of it and it shows up in Windows Explorer. Any help would be appreciated.
Lou
 
Reply With Quote
 
 
 
 
clifford_cooley clifford_cooley is online now
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,508
Thanked: 930
 
      09-21-2011
I'm not sure why you would be having issues. Nothing has changed with how CD command works within command-line interface. If it once worked for you, it should still work for you now.

Try this:
  • Place the folder path in quotes. The quotes are important if any of your folder levels include a space.
  • The path string is not case sensitive, so capitalization is not important.

Example:
  • D:\
  • CD "D:\Data Storage"

Question, are you viewing D when changing the directory. If you are not viewing D then it would appear nothing has happened.

Last edited by clifford_cooley; 09-21-2011 at 05:47 PM..
 
Reply With Quote
 
jrsyangl jrsyangl is offline
New Member
Join Date: Sep 2011
Posts: 4
Thanked: 0
 
      09-21-2011
Clifford,
Thanks for your reply. This is what I am doing:
C:\>cd D:
D:\
C:\>
The D:\ appears but I am still at the C: prompt. Using quotes does not change things. The only thing that I can recall that I have changed lately are permissions, but I made them less restrictive, not more.
Lou
 
Reply With Quote
 
clifford_cooley clifford_cooley is online now
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,508
Thanked: 930
 
      09-21-2011
To change drives, don't use the CD command. The CD command is for changing the directory path.

Type "C:" for C drive.
Type "D:" for D drive.

Once the drive you want is showing use the CD command to change directories.

Example:
  • D:\
  • CD "D:\Data Storage"
The first line of my example takes you to D drive.
The next line then changes the directory path.
 
Reply With Quote
 
jrsyangl jrsyangl is offline
New Member
Join Date: Sep 2011
Posts: 4
Thanked: 0
 
      09-21-2011
How Dumb Of Me(HDOM?). My only excuse is I have been working with Cygwin and that Linux like environment permits cding to a different drive. Thank you VERY much for your help.
Lou
 
Reply With Quote
 
clifford_cooley clifford_cooley is online now
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,508
Thanked: 930
 
      09-21-2011
I didn't think it was a dumb question.

Navigation from command-line is slowly becoming a lost technique. Only the old farts and computer gurus, know how to use DOS commands these days.

I would give anyone a plus for attempting to keep DOS alive.
 
Reply With Quote
 
jrsyangl jrsyangl is offline
New Member
Join Date: Sep 2011
Posts: 4
Thanked: 0
 
      09-21-2011
... Only the old farts and computer gurus,...
I qualify as the former, not the latter.
Lou
 
Reply With Quote
 
Ace Ace is offline
Established Member
Ace's Avatar
Join Date: Jul 2011
Location: Canada
Posts: 315
Thanked: 56
Send a message via MSN to Ace Ace's Twitter Pag
 
      09-22-2011
You don't need the current directory identifier/parameter when locating to a new drive.

Example:
Code:
D:
That will move you to the drive allocated with the drive letter D.

Use the cd\ command line to navigate to the root of the current drive.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 12:31 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33