You can simply type the drive letter name suffixed with “:” at the command prompt to switch between drives. At the command prompt, type “E:” and press “Enter” if you want to switch from C: drive to E: drive.
How to Change C Drive to D Drive in CMD –
A few examples:
C:\> E: E:\>
The “cd” command can be used with the /D switch if you wish to switch and also move to a certain directory on the new drive. You should run the below command to move from the C: drive folder to E:/dir1.
cd /D E:\dir1
Your current location will be E:/dir1
. The only way to change the drive is to do a cd without the /D
switch.
You may also like: Mkdir Command Prompt: How to Create Directory in CMD