Diruse.exe: Directory Disk Usage
diruse {/s | /v} {/m | /k | /b} [/c] [/,] [/q:# [/l] [/a] [/d] [/o]] [/*] dirs
Where:
/s
includes subfolders of the specified folders in the output.
/v
outputs progress reports while scanning subfolders. Ignored if /s is specified.
/m
displays disk usage in megabytes.
/k
displays disk usage in kilobytes.
/b
displays disk usage in bytes (default).
/c
uses compressed file size instead of apparent file size.
/,
displays the thousands separator (comma or period) in file sizes.
/q:#
marks folders that exceed the specified size (#) with an EXCLAMATION POINT (!). If /m (megabytes) or /k (kilobytes) is not specified, then the size is assumed to be in bytes.
If /q is specified, then the return code is ONE if any folders are found that exceed the specified sizes. Otherwise the return code is ZERO.
/l
outputs overflows to logfile DIRUSE.LOG in the current folder.
/a
specifies that an alert is generated if sizes specified by /q:# are exceeded. The Alerter service must be running, and the alert appears only when you are using DirUse.
/d
displays only folders that exceed specified sizes.
/o
specifies that subfolders are not checked to see if they exceed the specified size.
/*
uses the top-level folders residing in the specified dirs.
dirs
specifies a list of paths to check. dirs is required.
diruse with no parameters or with any unrecognized parameter displays command-line help.
Parameters can be typed in any order. You can use the DASH (-) character rather than the FORWARDSLASH (/)character. For example:
diruse -s -m -q:1.5 -l -* c:\users