List local drives from command line
We can run the below command from windows command prompt to get the list of local drives.
wmic logicaldisk get description,name | findstr /C:"Local"
We can find the list of drives using fsutil
command also but this one shows mapped drives also.
fsutil fsinfo drives
Example:
D:\>fsutil fsinfo drives Drives: C:\ D:\ Z:\ D:\>