HOW TO CHANGE DRIVES IN MS-DOS AND WINDOWS COMMAND LINE
To 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.
Tip
A partition is also treated as a drive, which means if you have a hard drive with two partitions, it’s the C: and D: drive letters.
A: drive
Floppy disk drive (commonly the 3.5″ floppy drive).
B: drive
A second 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 (compact disc read-only memory) is the C: drive, your computer is not detecting the hard drive.
D: drive
Commonly the CD-ROM drive or another drive unless the computer hard drive has multiple partitions. If multiple partitions exist, your CD-ROM drive is the last letter. For example, if one extended partition exists, your CD-ROM drive will be the E: drive because the hard drive partitions would use C: and D: drive letters.
Accessing a USB drive
To access a USB thumb drive or external drive, you must know what drive letter the computer has assigned to the drive. For example, if the USB (universal serial bus) is assigned to the F: drive, you can type f: at the prompt to switch to the F: drive.
What happens after switching drives?
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 error below.
The system cannot find the drive specified.
If this occurs and you know the drive exists, it’s likely the drive is having problems.
If the drive and drive letter do exist, but there is no media to read, then you’ll get the below error.
The device is not ready.
For example, the error above will be received if you switch the drive with no floppy disk or CD (compact disc) inside.
Tip
To list the files on an alternate drive, you can also type dir followed by the drive letter. For example, “dir a:” lists the files on the floppy drive but will not switch your prompt to the floppy drive.
More Tips & Tricks
Linux
- NEW Compress or Extract Files in Terminal
- 25 Basic Linux Commands For Beginners
- How to use 'APT'
- Change Login Background (Mint 22)
- Free Linux Manuals
- Linux Commands from A-Z: free downloadable PDF
- Linux Distros & where to get them
- How to Install Linux Mint
- Dual Booting Windows & Linux
Raspberry Pi
- NEW Raspberry Pi NAS
- Dual Boot the Pi
- NVMe SDD on a Pi
- Clone your Pi SD Card
Free Ebooks
- Crochet
- Knitting
- Loom Knitting
- Cross Stitch
- Windows Manuals
- Linux Manuals
- Raspberry Pi
- Lua
- HTML, CSS & JS
Handy Tools

Learning Linux


Watch the Series.

Watch the Series.
It's FOSS RSS
- This Bachelor's Thesis lets You Build Your Own Kindle Alternative eBook Reader
- New Arch Installer Update Adds U2F Authentication and Bluetooth Support
- wget Removed from Ubuntu Server 25.10 Default Install (And No, It's Not Because of Rust)
- NordVPN Takes on Phone Scammers with Scam Call Protection Feature
- Arch Linux Users at Risk Again as AUR Hit by Another RAT
- Say Goodbye to Microsoft Authenticator! Proton Just Introduced a Solid Alternative
- CISCO Giften AGNTCY Project to Linux Foundation to Standardize AI Agent Communication
- Hands-On with Onlook: The AI-Powered Visual Editor That Blends Code and Design
- Best Linux Laptop of 2025? TUXEDO InfinityBook Pro 15 (Gen10) Launches
- Latest Linux Kernel 6.16 is all Focused on AMD, Intel, and NVIDIA
- How Does OpenMandriva Lx 'Rock' Stack Against Fedora? My Thoughts
- Mastodon Wants Funding and Won't Mind Nudging You for Donation
- Irony? AI-focused Open Source Code Editor Zed Lets You Disable All AI Features
- I Tried Proton's Lumo AI, a Private Alternative to ChatGPT
- Someone Slipped a RAT into Arch Linux!