Results 1 to 4 of 4

Thread: Can’t change drive in command prompt

  1. #1
    Join Date
    Jan 2009
    Posts
    21

    Can’t change drive in command prompt

    Hello,

    Friends I have a problem here I can’t change the directory to anything else except what is in the C: drive in Windows XP.Any one here to offer some help regarding this

    Any helps would be greatly received..
    thanks.!!

  2. #2
    Join Date
    Jan 2009
    Posts
    1,738

    Re: Can’t change drive in command prompt

    I went to discover a way to find the solution Typing in "cd /?", I found this.
    CD [/D] [drive:][path]
    Type CD drive: to display the current directory in the specified drive. Use the /D switch to change current drive in addition to changing current directory for a drive.I tried it and it worked.What the heck?

    C:\Documents and Settings\twig>cd d:
    D:\

    C:\Documents and Settings\twig>cd /d d:

    D:\>So I think now we have to use the new syntax to change drives using "cd".

  3. #3
    Dr. V Guest

    Re: Can’t change drive in command prompt

    Brother,for Changing the drives, just type the letter and colon.e.g. "E:" Changing directories, cd and the name of the directory e.g. "cd e:\name".You can also change directory using relative paths e.g. "cd ..\..\name

  4. #4
    Join Date
    Apr 2008
    Posts
    3,267

    Re: Can’t change drive in command prompt

    Hey do you have problems differentiating between / (forward slash) and \ (back slash) like I do? With DOS I always have to remind myself that switches are forward, everything else is backward. Except the internet address. Then it's double forward. But domain / network drive mappings are double backward.What he was referring to up there is using CD to change drive and directory at the same time. You use the "/D" argument with CD to change drive and directory.It's just not relevant, I think, in Unix because it makes it all look like one big drive or makes a drive just appear as a directory.

Similar Threads

  1. recover a corrupted pen drive through Dos prompt command
    By 2anrip in forum Hardware Peripherals
    Replies: 1
    Last Post: 06-12-2012, 03:17 PM
  2. Change the colors in the command prompt
    By Venator in forum Customize Desktop
    Replies: 1
    Last Post: 08-06-2011, 06:33 AM
  3. How to change Command Prompt settings
    By rIh@n in forum Operating Systems
    Replies: 3
    Last Post: 17-08-2009, 03:04 PM
  4. Open My Cdrom Drive with command prompt
    By zakir in forum Hardware Peripherals
    Replies: 3
    Last Post: 13-08-2009, 11:13 AM
  5. Command prompt to change dns
    By Renderman21 in forum Technology & Internet
    Replies: 4
    Last Post: 11-08-2009, 03:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,880,482.29349 seconds with 17 queries