Divardo Posted February 20, 2008 Share Posted February 20, 2008 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... Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/ Share on other sites More sharing options...
Volatile Posted February 20, 2008 Share Posted February 20, 2008 works to just type D: at prompt cd D: just shows you current dir Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-589220952 Share on other sites More sharing options...
BGM Posted February 20, 2008 Share Posted February 20, 2008 type 'D:' and hit enter obviously without the quotes Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-589220957 Share on other sites More sharing options...
Roger H. Veteran Posted February 20, 2008 Veteran Share Posted February 20, 2008 wait, you mean like going from C drive to D drive? EG: You'll be here: C:\> and you want to be: D:\> 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 Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-589220959 Share on other sites More sharing options...
MillionVoltss Posted February 20, 2008 Share Posted February 20, 2008 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. Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-589220985 Share on other sites More sharing options...
ManMountain Posted February 21, 2008 Share Posted February 21, 2008 (edited) 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. 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 February 21, 2008 by ManMountain Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-589221713 Share on other sites More sharing options...
lennydu91 Posted May 24, 2015 Share Posted May 24, 2015 [ENGLISH] It's simple you just do "cd /d {disk}" example: i want go to disk "e:\" cd /d e: [FRENCH] C'est tout simple il faut juste faire "cd /d {disque}" exemple: je veut aller sur le disqie "e:\" cd /d e: Link to comment https://www.neowin.net/forum/topic/621080-how-to-i-change-disk-drive-in-command-prompt/#findComment-596861274 Share on other sites More sharing options...
Recommended Posts