answersLogoWhite

0

To just change the drive you are working on in a command window you can simply type the drive letter followed by a colon at the prompt. For example, type "D:" to switch to the D drive. This will switch you to the current directory in the target drive (each drive tracks its own current directory).

If you want to change both the drive and the current folder in the target drive, use the /D option of the CD (change directory) command. For example, to change to the "Users" folder of the C: drive (regardless of the current drive or folder), type "CD /D C:\Users". Remember to put your target path in quotes if it contains spaces.

Here are what the examples would look like in your command window:

EXAMPLE 1

C:\>D:

D:\Current Directory>

EXAMPLE 2

D:\Photos>CD /D C:\Users

C:\Users>

User Avatar

Wiki User

15y ago

What else can I help you with?