We can use below command to get the type of a drive.
fsutil fsinfo drivetype driveletter
Ex:
c:\>fsutil fsinfo drivetype c:
c: – Fixed Drive
c:\>fsutil fsinfo drivetype f:
f: – CD-ROM Drive
c:\>
Windows XP, Windows 7, Server 2008, Vista command line tips
We can use below command to get the type of a drive.
fsutil fsinfo drivetype driveletter
Ex:
Previous post: Find disk free space from command line
Next post: Delete Read only file from command line