FG
💻 Software

See available drives from Windows CLI?

Fresh5 days ago
Mar 15, 2026614242 views
Confidence Score1%
1%

Problem

Is there a way to list the available drives from cmd.exe ? (Other than manually typying and seeing which ones return errors)

Error Output

c:
d:
...

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: See available drives from Windows CLI?

Low Risk

if probably the easiest one. Doesn't need administrative privileges, doesn't return more or less than what's needed, etc. If you want to use it in a script, then wrap it in with the option:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment