User Tools

Site Tools


computing:windows:list_drives

How to Determine Existing Drive Letters in Windows

http://www.computerhope.com/issues/ch000854.htm

:!: These commands may require Windows Vista and newer versons of Windows.

Command Prompt

Using WMI:

wmic logicaldisk get name

or, even better:

wmic logicaldisk get caption,providername,drivetype,volumename

Powershell

Assuming you are on windows 7 or have installed Powershell:

gwmi win32_LogicalDisk -filter DriveType=4
computing/windows/list_drives.txt · Last modified: 2013/01/24 10:27 by gcooper