DIRUSE – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Display disk usage.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
Syntax DIRUSE [options] Folders... Options /M Display in Mb /K Display in Kb /B Display in bytes (default) /, Use thousand separator when displaying sizes. /Q:# Quota limit, mark folders that exceed the size (#) with a "!". set %errorlevel% to ONE if any folders are found that exceed the specified size /* Report on one level of subfolders (top-level folders) /D Display only folders that exceed specified sizes. /S Include detail of every subfolder in the output /O Don’t check subfolders for quota overflow. /V Display progress report for every subfolder /C Use Compressed size instead of apparent size. /L Output overflows to logfile .\DIRUSE.LOG. /A generate an alert if quota is exceeded (requires the Alerter service) |
Options for DIRUSE can be specified with either -option or /option
This utility does still work under Windows 7/2008 R2/2012, although (like all Resource Kit tools) it is unsupported.
1 2 3 |
Example C:\> DIRUSE /M /q:1.5 /* e:\users |
I envy your work, appreciate it for all the useful content.