FDIR v1.xx (c) 1996 M&M Corporation Budapest Usage: FDIR.EXE [D:\DIR\SUBDIR] [/8|4] [/s] [/o=OUTPUT] [/aRHSA] Parameter: ~~~~~~~~~~ D:\DIR\SUBDIR or simply D: Switches: ~~~~~~~~~ /8 8192-byte clusters /4 4096-byte clusters (default) /s scan subdirectories /o output file /a upper case for INCLUDE (default) lower case for EXCLUDE file(s) The result of the execution is like: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FDIR v1.01 (c) 1996 M&M Corporation Budapest Reporting C:\SYSTEMS\MYPROG /s /aRHSA Files: 23 Directories: 0 Cluster size: 4096 Used space: 140922 Occupied space: 180224 Waste: 27.89% This includes the name & version of the program, the directory, the (optional) /s qualifier and the included files' attributes. Explanation: ~~~~~~~~~~~~ The lines 'Files:' and 'Directories:' speak for themselves. The 'Cluster size:' is set from the command line. It defaults to 4096. 'Used space:' is the number of bytes the files DO use on your disk. 'Occupied space:' tells the number of bytes the DOS occupies for your files. 'Waste:' is calculated like: (O.s-U.s)/U.s*100% Limitation: (not really :-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ The program handles directory structures up to 79 directories nested in each other. Since DOS's path cannot exceed 80 character, it is more than enough. Comments & ideas to: ~~~~~~~~~~~~~~~~~~~~ E-MAIL: mark@ludens.elte.hu VISIT MY HOMEPAGE AT: http://ludens.elte.hu/~mark/ SNAIL-MAIL: Molnár Márk Dél utca 29. 1239 Budapest Hungary