Skip navigation

JSI Tip 9331. Du.exe freeware reports disk space usage for the directory you specify.


Download Du.zip. Du.exe is a command-line tool that reports the disk space usage of a directory you specify, and by default, the sub-directories.

When you type Du /?, you receive:

Du v1.2 - report directory disk usage
Copyright (C) 2005 Mark Russinovich
Sysinternals - www.sysinternals.com

usage: du  \[-n \[-q\] 
   -l     Specify subdirectory depth of information (default is all levels).
   -n     Do not recurse.
   -q     Quiet (no banner).
   -v     Show size (in KB) of intermediate directories.

Examples:

When I typed du c:\zipnew, I received:
Du v1.2 - report directory disk usage
Copyright (C) 2005 Mark Russinovich
Sysinternals - www.sysinternals.com

Files:        174
Directories:  8
Size:         85,801,729 bytes
Size on disk: 85,801,729 bytes
When I typed du -v c:\zipnew, I received:
Du v1.2 - report directory disk usage
Copyright (C) 2005 Mark Russinovich
Sysinternals - www.sysinternals.com

         0  c:\zipnew\FAX
    36,393  c:\zipnew\JSI
    10,249  c:\zipnew\Opalis
       466  c:\zipnew\Quotations
    . . . . . . . . . . . . . .
     1,802  c:\zipnew\Winternals
    83,790  c:\zipnew

Totals:
Files:        174
Directories:  8
Size:         85,801,729 bytes
Size on disk: 85,801,729 bytes



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish