Home
> Commands A-M
> Commands Da-Dr
DIRUSE
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Display disk usage.
Syntax
DIRUSE
[/,]
[/*]
[/A]
[/B
| /K
| /M]
[/C]
[/D]
[/L]
[/O]
[/Q:#]
[/S]
[/V]
paths...
Parameters
- paths...
(NT4)
- Folders to display usage of.
Switches
- /,
(NT4)
- Use thousand separator when displaying sizes.
- /*
(NT4)
- Report on one level of subfolders
(top-level folders only).
- /A
(NT4)
- generate an alert if quota is exceeded
(requires the Alerter service)
- /B
(NT4)
- Display in bytes (default).
- /C
(NT4)
- Use Compressed size instead of apparent size.
- /D
(NT4)
- Display only folders that exceed specified sizes.
- /K
(NT4)
- Display in Kb.
- /L
(NT4)
- Output overflows to logfile .\DIRUSE.LOG.
- /M
(NT4)
- Display in Mb.
- /O
(NT4)
- Don't check subfolders for quota overflow.
- /Q:#
(NT4)
- Quota limit, mark folders that exceed the size (#)
with a "!". Set
%ERRORLEVEL%
to ONE if any folders are found that exceed the
specified size.
- /S
(NT4)
- Include detail of every subfolder in the output.
- /V
(NT4)
- Display progress report for every subfolder.
Related
DIR - Display a list of files and folders.
You can also list files with XCOPY
/L
Equivalent Linux BASH commands:
quota - Display disk usage and limits.
quotacheck - Scan a file system for disk usage.
quotactl - Set disk quotas.
ulimit - Limit user resources.
Notes
Switch symbols
The '-' symbol can be used in place of the '/' symbol.
Examples
DIRUSE /M /Q:1.5 /* e:\users
Errorlevels
- 1 Any folders found that exceed specified quota size
Availability
- External Resource Kit
-
- DOS
-
none
- Windows
-
none
- Windows NT
- NT4
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively