home *** CD-ROM | disk | FTP | other *** search
- FileSize version 0.01, by John Cooper April 1986 1
-
-
- FileSize is very similar to Peter Norton's program of the
- same name with the primary difference being this one is free.
- FileSize also differs slightly in appearance and is somewhat more
- flexible in dealing with subdirectories.
-
- To active FileSize just type the following from any DOS
- prompt.
-
- FS
-
- FileSize will respond with a list of switches and options that
- looks much like the following:
-
- FileSize version 0.01, John Cooper 4-86
- usage: fs filespec [-s] [-cnnnn] [-cdrive_letter] [-t]
- filespec is a just a pattern such as *.* or *.c
- anything that works with DIR works here.
- -s Instructs FS to recurse through lower directories
- -c nnnn specifies a cluster size. The default is the cluster
- size of the searched device.
- -c drive_letter, this causes FS to use the allocation size
- of the drive named by drive_letter, e.g. -cA
- -t FS shows ONLY totals.
-
- FS *.*
- This will display all the files, including hidden, system,
- and read-only, in the current directory of the logged device.
- The display is in the following format:
-
- file name size allocated wasted
- | | |
- Path: C:\WORDSTAR | | |
- RESUME.A85 2560 4096 38%
- WS.COM 45056 45056 0%
- INTERNAL.DCT 35584 36864 3%
- JOHN.DCT 2559 4096 38%
- MAIN.DCT 310784 311296 0%
- LUUM.DOC 5009 8192 39%
- WORDSTAR.LBR 216192 217088 0%
- CORRSTAR.OVR 59392 61440 3%
- MAILMRGE.OVR 13568 16384 17%
- WSMSGS.OVR 29056 32768 11%
- WSOVLY1.OVR 41216 45056 9%
- MAKE.WS 2560 4096 38%
- PARSPATH.WS 2560 4096 38%
- SCI.WS 43008 45056 5%
- FS.WS 2560 4096 38%
- FS.DAT 0 0-262%
- FS.BAK 2304 4096 44%
- Directory Totals: 17 files using 813968 bytes with 843776 allocated
- leaving 4% wasted
-
-
- If more than one directory is processed, via the -s switch,
- a Grand Total line will appear after all processed directories.
- The individual file display can be suppressed with the -t switch.
-
-
-
-
- FileSize version 0.01, by John Cooper April 1986 2
-
-
-
- FileSize requires at least one argument on the command line.
- This can be either a file specification or a switch. If no
- arguments are present FileSize provides a brief message on its
- proper usage.
-
- The file specification can be just about anything that is
- acceptable to DIR, e.g. "\", "\*.C", "\LC\*.OBJ", etc.
-
- If no file specification is given than FileSize defaults to
- "*.*" in the current directory of the logged drive.
-
- FileSize is written in Datalight C version 1.6 and bound
- without printf(), to reduce the load module size.
-
- FileSize is released to the public without cost but the
- author retains all commercial rights to the program. This is to
- say that you may give it away for free but you may not under any
- circumstances sell it for profit. If you want to include it in
- another package that you are selling (this includes those who
- sell for "handling fees only") then contact the author.
-
- Any questions? Contact me at GEnie Mail: JOHNCOOPER,
- Compuserve: 74775,756, or Delphi JOHNCOOPER, or (last resort)
- John Cooper, 10070 Westpark #821, Houston, Texas 77042.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-