home *** CD-ROM | disk | FTP | other *** search
- SIZE.COM - Directory sizing filter.
-
- D.J. Murphy 7th August 1989
-
- Usage:DIR [d:\path] | SIZE [/N] [|MORE]
-
- SIZE is used to add up all the file sizes reported by the DOS DIR command. It
- is invoked as shown above and takes as input the directory list produced by
- DIR without any switches. It will not work with the /W (wide) switch, since
- there is no file size data with this option, nor with the /P (page) option
- since the "Press any key to continue....." prompts will confuse SIZE. Pipe
- the output from SIZE into DOS MORE to get a paged directory listing.
- SIZE invoked with the /N (No listing) switch just reports the directory size
- and does not list the files in the directory. Like DOS DIR, size only reports
- on the directory requested, and not subdirectories below this one.
-
- SIZE is written in C, and compiled under Borland Turbo C v1.5. Send any
- comments, suggestions and requests for further copies to:
-
- Janet: djm@uk.ac.ed.castle Snail: D.J. Murphy
- Murff@uk.ac.ed.emas-a Room 213
- trinity@uk.ac.ed.cs.tardis Chemistry Department
- Edinburgh University
- ARPA: djm%ed.castle@nsfnet-relay.ac.uk King's Buildings
- Murff%ed@nsfnet-relay.ac.uk Edinburgh EH9 3JJ
- trinity%ed.cs.tardis@nsfnet-relay Scotland, U.K.