CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (2024)

By Ariel | Follow | Last Updated

Sometimes you may to need list all drives on your systems. How to list drives in CMD/PowerShell? This post of MiniTool provides a full guide on PowerShell/CMD list drives and a professional tool to manage your drives.

When formatting a drive or copying files from a drive to another drive, you may need to use the CMD or Windows PowerShell tool to list drives. However, many people don’t know how to list drives in Command Prompt or PowerShell, like a user from the superuser forum:

See Also
automount

Is there a way to list the available drives from cmd.exe? (Other than manually typing c: d: …) and seeing which ones return errors.https://superuser.com/questions/139899/see-available-drives-from-windows-cli

How to List Drives in CMD

Command Prompt, also known as CMD, is the command-line interpreter in Windows operating system. You can input certain commands in the Command Prompt window to take corresponding actions. If you want to list drives of your systems, you can use the WMIC (Windows Management Instrumentation for Management) or Diskpart command.

List Drives CMD via WMIC:

Step 1. Press Win + R keys to open the Run dialog box, and then type cmd in it and press Ctrl + Shift + Enter keys together to open the elevated Command Prompt window.

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (1)

Step 2. To let CMD list drives, type one of the following commands and hit Enter.

  • wmic logicaldisk get name
  • wmic logicaldisk get caption

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (2)

Step 3. If you want to display the Device ID and volume name, type the following command and hit Enter. Also, you can run the fsutil fsinfo drives command to list drives on your computer

wmic logicaldisk get deviceid, volumename, description

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (3)

List Drives CMD via Diskpart:

DiskPart is a disk partition management tool that uses command lines to perform operations.It can be used to list drives CMD as well. Here’s how to use it.

Step 1. Open the Command Prompt window again as we explained above.

Step 2. Type the following commands in order and hit Enter after each one. Then you will see a list of drives on the disk, including partition/volume number, label, letter, file system, size, and status.

  • diskpart
  • list disk
  • select disk *
  • list volume/list partition

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (4)

How to List Drives in PowerShell

PowerShell is a command-line tool like CMD. Here you can let PowerShell list drives as well. To do so, follow the steps below:

Step 1. Open the Run dialog box, and then type powershell in it and hit Enter.

Step 2. In the Windows PowerShell window, type the following command and hit Enter.

get-psdrive -psprovider filesystem

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (5)

How to let PowerShell/CMD list drive letters? Now, I believe that you already have known the answer.

Better Choice Than PowerShell/CMD List Drives

Although both of the two Windows tools can help you list drives, you may encounter some limitations to further managing drives/disks with them. For example, you can’t format a drive larger than 32GB to FAT32 using CMD. If you want to manage your hard disk or partitions more effectively, it’s highly recommended that you use a professional tool like MiniTool Partition Wizard.

MiniTool Partition Wizard DemoClick to Download100%Clean & Safe

It is a popular partition manager trusted by millions of users around the world. With this tool, you can not only obtain the drive information easily but do many other powerful tasks, including create/extend/move/format/wipe partition, convert NTFS to FAT32 without data loss, convert MBR to GPT, migrate OS, rebuild MBR, recover data, etc.

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (6)

About The Author

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (7)

Position: Columnist

Ariel has been working as a highly professional computer-relevant technology editor at MiniTool for many years. She has a strong passion for researching all knowledge related to the computer's disk, partition, and Windows OS. Up till now, she has finished thousands of articles covering a broad range of topics and helped lots of users fix various problems. She focuses on the fields of disk management, OS backup, and PDF editing and provides her readers with insightful and informative content.

CMD List Drives: How to List Drives in Command Prompt? [Answered] - MiniTool Partition Wizard (2024)
Top Articles
TCP/IP port exhaustion troubleshooting - Windows Client
Why Cave Art Still Matters For Artists Today
Craigslist Houses For Rent In Denver Colorado
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Tabc On The Fly Final Exam Answers
Craigslist Furniture Bedroom Set
Farmers Branch Isd Calendar
Mylife Cvs Login
Snarky Tea Net Worth 2022
Lantana Blocc Compton Crips
12 Best Craigslist Apps for Android and iOS (2024)
Missing 2023 Showtimes Near Landmark Cinemas Peoria
Oriellys St James Mn
Hillside Funeral Home Washington Nc Obituaries
Wordle auf Deutsch - Wordle mit Deutschen Wörtern Spielen
MindWare : Customer Reviews : Hocus Pocus Magic Show Kit
Idaho Harvest Statistics
Overton Funeral Home Waterloo Iowa
Ups Access Point Lockers
Palm Springs Ca Craigslist
Faurot Field Virtual Seating Chart
Ge-Tracker Bond
Jeffers Funeral Home Obituaries Greeneville Tennessee
Yonkers Results For Tonight
Gas Buddy Prices Near Me Zip Code
Del Amo Fashion Center Map
Valic Eremit
Mdt Bus Tracker 27
EVO Entertainment | Cinema. Bowling. Games.
Ou Football Brainiacs
Radical Red Ability Pill
Yale College Confidential 2027
Sandals Travel Agent Login
Maisons près d'une ville - Štanga - Location de vacances à proximité d'une ville - Štanga | Résultats 201
Jazz Total Detox Reviews 2022
Roseann Marie Messina · 15800 Detroit Ave, Suite D, Lakewood, OH 44107-3748 · Lay Midwife
Neteller Kasiinod
Happy Shuttle Cancun Review
Sony Wf-1000Xm4 Controls
Used Safari Condo Alto R1723 For Sale
Bratislava | Location, Map, History, Culture, & Facts
The Attleboro Sun Chronicle Obituaries
Wordle Feb 27 Mashable
Minterns German Shepherds
Walmart Front Door Wreaths
Smoke From Street Outlaws Net Worth
Gear Bicycle Sales Butler Pa
Subdomain Finer
Www Extramovies Com
La Fitness Oxford Valley Class Schedule
Honeybee: Classification, Morphology, Types, and Lifecycle
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6382

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.