Command Prompt Tutorials For Beginners
Command Prompt tutorial

 

 

 

 

 

 

 

 

🙂 Welcome to Tech of World. This post is about how to show all drives in cmd. When we need to know directly without browsing windows how many drives are available or partitioned on your computer.

If you are new in this site, please read my previous tutorial step by step from CMD Tutorials For Beginners (Part-1) How To Create Folder By CMD.

It helps to gain basic knowledge about cmd. Let’s start..

Show All Drives In CMD

Method 1:

At first , open your cmd.exe

Then type,

wmic logicaldisk get deviceid, volumename, description

 

show all drives in cmd
wmic

Then, you see available drives in your computer.

show all drives in cmd
showing drives

 

Here, wmic  is a acronym of The Windows Management Instrumentation Command line (WMIC) is a software utility intended to help IT staffers retrieve information contained within the Windows Management Instrumentation (WMI).

Method 2:

Just type,

wmic logicaldisk list brief

show all drives in cmd
wmic

you will get your device with drive type ,free space, size etc.
For a newbie, according to this picture, A question may be  arisen in your mind. In column of Drive Type  some values are mentioned. what are those? These values are called enum or enumeration tools. This enum represent following meaning.

Value    Meaning
--------------------------
0        Unknown
1        No Root Directory
2        Removable Disk
3        Local Disk
4        Network Drive
5        Compact Disc
6        RAM Disk

 

 

Method 3:

Just type:

fsutil fsinfo drives

you will also get your desired drives

show all drives in cmd

Here, Fsutil is a command-line utility that you can use to perform many FAT and NTFS file system related tasks, such as managing reparse points, managing sparse files, dismounting a volume, or extending a volume

And fsinfo is  A FAT32 file system has a FSINFO data structure that includes hints about where the operating system can allocate new clusters. Its location is given in the boot sector

These two method are most easiest .You don’t need to go another window or return back.

Method 4:

Type:

diskpart

show all drives in cmd
diskpart

Another window will be poped up like these.

show all drives in cmd
diskpart

 

Now just type

list volume 

show all drives in cmd
volume list

 

You will get your list of drives with details such as type,size,status etc.

♥♥♥Off Topics:
I am introducing to you a social networking site named MyMeetBook. that you find extra flexible feature including available feature on facebook or twitter . I think all of you enjoy it. Please see the review of MyMeetBook.

I am inviting my next post to read how to open program files using cmd .

Thank you to all my lovely readers. I try to realize any topics easily as far as possible to you.

Please if you find or face any problem or any suggestion about how to develop article  please throw your opinion in comment box. Don’t forget to give us feedback.

♥Be happy, remain happy, make happy  others. 🙂