home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
dirutl
/
du_pv.arc
/
DU.DOC
< prev
Wrap
Text File
|
1988-02-14
|
1KB
|
36 lines
du - show disk use
SYNOPSIS
du [/h] [/nnn] name
DESCRIPTION
Lists the disk space used by the given directory, and in all
subdirectories thereof. If no name is given, lists the current
directory. If the "/h" switch is used, it will report hidden and
system directories as well; in any case, the disk usage figures will
includes files contained in hidden directories.
Gives subtotals for all subdirectories in the given directory.
The first column gives the total bytes actually used; the second column
gives disk space consumed. The difference is that disk space is
allocated in chunks, each file will (on the average) waste half a chunk.
1K=1024 bytes. If the /nnn parameter is given, the cluster size used
for this computation will be:
/0 the actual cluster size for this drive (default;
overrides other previous settings)
/1 512 bytes (single sided diskette)
/2 1024 bytes (double sided diskette) (useful for figuring
out how much space a given directory would take up on a
diskette).
/nnn (nnn>=3) nnn
/nnK nn * 1024
FILES
\local\du.com
\local\src\du.asm
BUGS
Does not report disk space used by subdirectories themselves (just
their files).