Cannot change drive in command prompt using CD


  1. Posts : 8
    Windows 7
       #1

    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 Computer


  2. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Voldemarz,

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

    Cannot change drive in command prompt using CD-cmd.jpg
    Last edited by Brink; 25 Sep 2011 at 11:44. Reason: typo
      My Computer


  3. Posts : 8
    Windows 7
    Thread Starter
       #3

    yeah, i realized that just after the post :)
      My Computer


  4. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #4

    No problem. I'm happy to hear that you got it sorted. :)
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    Code:
    cd /D D:\Downloads
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 10:14.
Find Us