List Drives From DOS On Windows 7, MS-DOS List Drives

Last night I was running some tools on a Windows 7 laptop and needed to list the drives. I am not very familiar with MS-DOS so I had to play around to find the information I was looking for. Luckily listing the drives and then querying drive information is easy to do from DOS in Windows 7.  Follow the directions below to list the Windows 7 drives from DOS.

List Windows 7 Drives Using MS-DOS:

The fsutil command can be used from the Windows 7 DOS Command Prompt to first list the available drives and then to query specific drive information. Below are examples of using fsutil to find out drive information.

Use fsutil To List Drives On Windows 7:

List Drives From DOS On Windows 7

Syntax To List Drives From DOS On Windows 7:

bash

  1. C:\>fsutil fsinfo drives
  2.  
  3. Drives: C:\ D:\ E:\ F:\

Use fsutil To Display Drive Type In Windows 7:

List Drive Type From DOS On Windows 7

Syntax To List Drive Type From DOS On Windows 7:

bash

  1. C:\Users\alex>fsutil fsinfo drivetype c:
  2. c: - Fixed Drive

Use fsutil To Display Volume Information In Windows 7:

List Volume Info From DOS On Windows 7

Syntax To List Volume Info From DOS On Windows 7:

bash

  1. C:\Users\alex>fsutil fsinfo volumeinfo C:
  2. Volume Name : OS
  3. Volume Serial Number : 0xb8XXXXXX
  4. Max Component Length : 255
  5. File System Name : NTFS
  6. Supports Case-sensitive filenames
  7. Preserves Case of filenames
  8. Supports Unicode in filenames
  9. Preserves & Enforces ACL's
  10. Supports file-based Compression
  11. Supports Disk Quotas
  12. Supports Sparse files
  13. Supports Reparse Points
  14. Supports Object Identifiers
  15. Supports Encrypted File System
  16. Supports Named Streams
  17. Supports Transactions
  18. Supports Hard Links
  19. Supports Extended Attributes
  20. Supports Open By FileID
  21. Supports USN Journal

Use fsutil To List Drive NTFS Information On Windows 7:

List NTFS Information From DOS On Windows 7

Syntax To List NTFS Information From DOS On Windows 7:

bash

  1. C:\Users\alex>fsutil fsinfo ntfsinfo C:
  2. NTFS Volume Serial Number :       0x00bXXXXcbXXXXXX
  3. Version :                         3.1
  4. Number Sectors :                  0x000000001bf930ea
  5. Total Clusters :                  0x00000000037f261d
  6. Free Clusters  :                  0x0000000002034233
  7. Total Reserved :                  0x00000000000007b0
  8. Bytes Per Sector  :               512
  9. Bytes Per Cluster :               4096
  10. Bytes Per FileRecord Segment    : 1024
  11. Clusters Per FileRecord Segment : 0
  12. Mft Valid Data Length :           0x0000000017200000
  13. Mft Start Lcn  :                  0x00000000000c0000
  14. Mft2 Start Lcn :                  0x000000000055efff
  15. Mft Zone Start :                  0x0000000000eba840
  16. Mft Zone End   :                  0x0000000000ec4fa0
  17. RM Identifier:        CB65E8E1-CFD9-XXXX-XXXX-XXXXXB6A7A82

As you can see fsutil is a valuable tool to use from a Windows Command Prompt or MS-DOS. It provides an easy way to list the drives available on the computer and then query each drive individually to find out more information about the drive.

How to Cheat at Windows System Administration Using Command Line Scripts (How to Cheat) (Paperback)


List Price: $44.95 USD
New From: $26.32 USD In Stock
Used from: $34.99 USD In Stock

Windows Command Line Administration Instant Reference (Paperback)


List Price: $29.99 USD
New From: $12.97 USD In Stock
Used from: $10.99 USD In Stock

Share