How to I change disk drive in command prompt


Recommended Posts

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

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

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
  • 7 years later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • WhatsApp document scanning gets closer to launch as more beta testers get access by Paul Hill Meta looks as though it’s getting closer to releasing WhatsApp’s native document scanner on Android because more people are now reporting they have access in the beta. This will give users a privacy-friendly way to snap photos of documents and automatically convert them to PDF ready for sharing. According to WABetaInfo, the feature comes with two modes: manual and automatic. The manual capture gives users more control over the process allowing them to adjust positioning and lighting to get the best quality scan. Automatic mode on the other hand automatically detects the edge of your document on its own and snaps the image without too much user input, making it faster and easier. Once the picture is taken, WhatsApp automatically converts it to a PDF file so that it can be shared and opened easily by the recipient. The file can be sent within private chats or group conversations. The entire scanning and conversion process takes place locally on your device, using Android’s built-in API for snapping documents. The document itself is also only stored locally until you decide to send it. Just like other WhatsApp messages, these scans are secured with end-to-end encryption when you send them to recipients. The only privacy risk is the user sending the PDF to the wrong person. The new feature was first noticed for Android a few weeks ago and with the latest beta it’s rolling out to more people. Once Meta has tested it across a wide array of devices, we will likely see it land for people on the stable version of WhatsApp. In recent weeks, we have also seen that Meta is testing new chat color themes in the beta releases. That feature doesn’t seem to have filtered down to the stable version yet, so be on the lookout for that too if that’s of interest to you.
    • Silly, illinformed comment but thanks for playing anyway. I mean, are you actually comparing a default browser on well over a billion devices with Firefox?
    • Of course you haven't. Microsoft evangelical James is making *hit up.
    • The way time and things are going, Mozilla might oneday surprise everybody by giving up Firefox estimating "no future growth potential" and moving it to the security and maintenance updates only mode. We've seen something like that before ... and Mozilla still doing it.
  • Recent Achievements

    • Collaborator
      Mighty Pen went up a rank
      Collaborator
    • Week One Done
      emptyother earned a badge
      Week One Done
    • Week One Done
      DarkWun earned a badge
      Week One Done
    • Very Popular
      valkyr09 earned a badge
      Very Popular
    • Week One Done
      suprememobiles earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      565
    2. 2
      +FloatingFatMan
      184
    3. 3
      ATLien_0
      175
    4. 4
      Xenon
      112
    5. 5
      Skyfrog
      111
  • Tell a friend

    Love Neowin? Tell a friend!