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
Can a Creditor Levy Your Bank Account More Than Once?
Port forwarding security considerations | Proton
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
Koopa Wrapper 1 Point 0
Rubratings Tampa
Is pickleball Betts' next conquest? 'That's my jam'
How to change your Android phone's default Google account
Nc Maxpreps
Bank Of America Appointments Near Me
Slay The Spire Red Mask
Craigslist Free Grand Rapids
Slmd Skincare Appointment
Oscar Nominated Brings Winning Profile to the Kentucky Turf Cup
Turning the System On or Off
Sarpian Cat
Jc Post News
Nene25 Sports
Otterbrook Goldens
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Jalapeno Grill Ponca City Menu
Breckie Hill Mega Link
Il Speedtest Rcn Net
Barista Breast Expansion
Blush Bootcamp Olathe
Was heißt AMK? » Bedeutung und Herkunft des Ausdrucks
Craigslist Dallastx
Rvtrader Com Florida
Rust Belt Revival Auctions
Kstate Qualtrics
Craigslist Albany Ny Garage Sales
1-800-308-1977
Dallas City Council Agenda
Kgirls Seattle
Shih Tzu dogs for sale in Ireland
Plead Irksomely Crossword
One Main Branch Locator
Adam Bartley Net Worth
Express Employment Sign In
Japanese Big Natural Boobs
Barstool Sports Gif
Mugshots Journal Star
Discover Things To Do In Lubbock
Windshield Repair & Auto Glass Replacement in Texas| Safelite
Lucyave Boutique Reviews
Jammiah Broomfield Ig
Samsung 9C8
Big Brother 23: Wiki, Vote, Cast, Release Date, Contestants, Winner, Elimination
Great Clips Virginia Center Commons
Coleman Funeral Home Olive Branch Ms Obituaries
Twizzlers Strawberry - 6 x 70 gram | bol
라이키 유출
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.