Skip to main content

Disk Usage v1.6

By Mark Russinovich

Published: July 4, 2016

 Download Du
(174 KB)



Du (disk usage) reports the disk space usage for the directory you specify. By default it recurses directories to show the total size of a directory and its subdirectories.

Using Disk Usage (DU)

Usage: du [-c[t]] [-l <levels> | -n | -v] [-u] [-q] <directory>

-cPrint output as CSV. Use -ct for tab delimiting.
-lSpecify subdirectory depth of information (default is all levels).
-nDo not recurse.
-vShow size (in KB) of intermediate directories.
-uCount each instance of a hardlinked file.
-qQuiet (no banner).


CSV output is formatted as:

Path, CurrentFileCount, CurrentFileSize, FileCount, DirectoryCount, DirectorySize


Download Du
(174 KB)



Download Du

(174 KB)

Runs on:

  • Client: Windows Vista and higher
  • Server: Windows Server 2008 and higher
  • Nano Server: 2016 and higher