How do I change drives in MS-DOS?

C: promptTo change the drive letter in MS-DOS, type the drive letter followed by a colon. For example, if you wanted to switch to the floppy disk drive you would type: "a:" at the prompt. Below is a listing of common drive letters and their corresponding devices.

A: drive

Floppy disk drive (Commonly the 3.5" floppy drive).

B: drive

Secondary floppy disk drive, if present (Commonly the 5.25" floppy drive).

C: drive

Computer hard drive primary partition (unless the hard drive is not available or is bad). If your CD-ROM is the C: drive your computer is not detecting the hard drive.

D: drive

Commonly the CD-ROM drive or other drive unless the computer hard drive has multiple partitions. If multiple partitions exist, your CD-ROM drive will be the last letter; for example, if one extended partition exists, your CD-ROM drive will be the E: drive.

After pressing enter your computer should change the MS-DOS prompt to reflect the new drive letter. If the drive does not exist, you will receive an error similar to the below error.

The system cannot find the drive specified.

If this occurs and you know the drive exists, it is likely that your drive is having problems.

The device is not ready.

For example, the above error will be received if you switch the floppy disk drive with no diskette in the drive or a CD drive with no CD in the drive.

Tip: If you just want to list the files on an alternate drive you can also type dir followed by the drive letter. For example, "dir a:" will list the files on the floppy drive but will not switch your prompt to the floppy drive.