Jump to content


How to I change disk drive in command prompt

  • This topic is locked This topic is locked
6 replies to this topic

#1 Divardo



  • Joined: 20-April 06
  • Location: New York

Posted 20 February 2008 - 20:49

I was attempting to create a symbolic link in a folder on the d drive but can't seem to be able to change on to that drive in the command prompt. I was able to do it on the c drive as a test run using cd and the destination, but not having much luck with changing drives.

Any ideas...

#2 Volatile


    Neowinian Senior

  • Joined: 12-October 06
  • Location: North Carolina

Posted 20 February 2008 - 20:56

works to just type D: at prompt

cd D: just shows you current dir

#3 BGM


    Wibble Wobble™

  • Joined: 30-March 03
  • Location: Farnborough, UK

Posted 20 February 2008 - 20:57

type 'D:' and hit enter

obviously without the quotes

#4 Roger H.

Roger H.

    Neowinian Senior

  • Tech Issues Solved: 25
  • Joined: 18-August 01
  • Location: Germany
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 20 February 2008 - 20:58

wait, you mean like going from C drive to D drive?


You'll be here:

and you want to be:

Hehe - i feel so old for knowing that... seems like the other guys already replied before i got a chance to hit submit... walked away :D

#5 MillionVoltss


    Neowinian Senior

  • Tech Issues Solved: 1
  • Joined: 21-May 04

Posted 20 February 2008 - 21:06

A: would take you to floppy, C: would be first hard disk.
cd windows would take you to the directory windows on the current drive
cd\ will take u back a folder
DIR /p will list the contents of the directory in a page
and HELP.

#6 ManMountain



  • Joined: 01-November 01
  • Location: Scotland
  • OS: Windows 8.1 Pro MC x64
  • Phone: LG Nexus 5

Posted 21 February 2008 - 02:50

For a true symbolic link, drop to a command prompt and try along the lines of:

cd \
mkdir d:\DivardoWasHere
mklink /d divardo d:\DivardoWasHere

Accessing divardo on C: via command line or in Windows Explorer points to D:\DivardoWasHere.

Posted Image
In the above screenshot, you can clearly see the symbolic link name "mm" redirects to a folder on another drive.

Of course, this also applies to moving or copying files. For example if you where at the command line @ root of C: and had a ton of .jpg files in C:\Pictures you could simply type copy c:\Pictures\*.jpg \divardo . Result would be all files would actually be copied to D:\DivardoWasHere.

(Edit: To remove the symbolic link, from root of C:\, you would enter rmdir \divardo and to wipe the D:\DivardoWasHere you would enter rmdir /s d:\DivardoWasHere).

Edited by ManMountain, 21 February 2008 - 03:22.

#7 lennydu91


    Resident One Post Wonder

  • Joined: 24-May 15

Posted 24 May 2015 - 16:49


It's simple you just do "cd /d {disk}"


i want go to disk "e:\"

cd /d e:



C'est tout simple il faut juste faire "cd /d {disque}"


je veut aller sur le disqie "e:\"

cd /d e: