Sign in to follow this  
Followers 0
Divardo

How to I change disk drive in command prompt

7 posts in this topic

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...

Share this post


Link to post
Share on other sites

works to just type D: at prompt

cd D: just shows you current dir

Share this post


Link to post
Share on other sites

type 'D:' and hit enter

obviously without the quotes

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

294lahc.jpg

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

Share this post


Link to post
Share on other sites

[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:

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.