Contents of the 3CT.TXT file
Daniel B. Doman
166 East 96th Street
New York, N.Y. 10128
3CT - File Space Counter
Version 5.0 04-16-91
3CT is available free of charge to the general public. You may not
charge for its use without the written permission of the author.
Feel free to distribute this program freely provided that no fee is
charged for such copying and distribution, and that it is
distributed ONLY in its original, unmodified state. No `shareware
registration' is asked for or expected. Of course, if you want to
send something anyway - well I am not crazy... At least tell me
you like and use the program.
3CT counts files and their sizes to show you how much space the
files in each subdirectory are taking up. It starts counting from
the specified location, and works its way through the various
subdirectories. It can only work on one drive at a time, but it is
compatible with most LAN environments. There are 4 levels of
verbiage that it can return. The default level gives the total
files and bytes used in each subdirectory. At its most verbose 3CT
will list every file it finds as well, and at its least it will
only return the total count for the area checked. The program name
is a rather poor pun on "TREE-Count".
Notes: 3CT counts all hidden files, so you will sometimes see it
report more files than the DOS "dir" command.
3CT requires DOS version 3.x or greater to run
Command Line Switches:
/V0 Just give totals for search, show no subdirectories.
/V1 List totals for Each parent directory, but do not show
children. This is a handy option for network
/V2 List count for each directory searched (default)
/V3 List count for each directory searched and display all
files. You might use this option if you want to verify
that 3CT is finding all of the files that you think that
it should find.
Change the default file mask from *.* to something more
specific such as "*.bak "
Do not display empty subdirectories
Do Not expand partial pathnames such as ".\" into their
full canonical value. You might want to use this switch
when scanning Novell Drives which tend to have long
server and volume names.
3CT . <- Calculate from current directory
3CT \ <- Calculate from Root Directory
3CT F:\FOO <- Calculate from F:\FOO directory
3CT F:\FOO /V0 <- Calculate from F:\FOO directory Give Search
3CT F:\UT /V1 <- Give subdirectory totals Of F:\UTL directory
3CT ..\ /V4 <- Display all files Too
3CT /Mask=*.zip /skipEqual . <- Count All .Zip Files
Changes In 5.0:
Didn't like the output format of release 4.0 so monkeyed around
some more. Expanding pathnames to their full canonical value, a
feature added in version 4.0 worked fine and dandy except on
certain Novell networks. I am now doing this a different way.
Changes In 4.0:
Added /Mask and /Skipzero commands. Added /V1 command to give total
of parent directories, but not list their children. This option was
added so that Network administrators could more easily find user
disk hogs. Expanded relative pathnames to full canonical value.
Changes In 3.0:
Search for subdirectories with dots in the name.. Oops.
Changes From 2.0:
This is really the same as version 1.0, but I accidentally
distributed it without the correct stack override, so it would not
work correctly on really large directory trees.