home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dirutl
/
jb_du13.arc
/
JB_DU13.DOC
< prev
Wrap
Text File
|
1989-04-10
|
1KB
|
31 lines
DU is similar to the *NIX utility of the same name. It displays the
sizes of the directory names passed to it. usage: DU [-s] [dir1]
[dir2] [dir3...]
With no arguments, DU starts from the current directory, otherwise
it examines the series of directories specified on the command
line. A drive spec (e.g. a:, c:, etc.) is a valid argument as
well.
The -s option displays the total for files in the listed directory
ONLY as well as the total which includes the subdirectories.
Source for Turbo C 2.0 is included. The binary was processed with
EXE2BIN into COM files.
I don't really care if you copy this. However, as per Borland's
requirements, it bears embedded Borland copyrights.
WARNING: I ran across an odd problem with DU and DOS 4.0 (the unfixed
version) -- it lost the ability to distinguish between a directory and
a file with no extension. However, that was a version ago. I haven't
tested the new version with DOS 4.0 because I'm not using 4.0 anymore.
Please send any bug reports or comments to me at:
James W. Birdsall jwbirdsa@phoenix.Princeton.EDU jwbirdsa@pucc.BITNET
...allegra!princeton!phoenix!jwbirdsa Compu$erve: 71261,1731
[but note that I'm not on Compu$erve very often]