Find disk free space from command line

In Windows , we can find free space of a disk drive using fsutil command. This command’s syntax is shown below.

fsutil volume diskfree driveletter

drive letter can be any local drive.

Ex:

C:\>fsutil volume diskfree e:
Total # of free bytes        : 45569585152

Total # of bytes             : 52427898880

Total # of avail free bytes  : 45569585152

Note that this command should be run from elevated command prompt. See  How to open elevated command prompt

The above fsutil command works on XP, Vista, Windows 7, Server 2003 and Server 2008.