home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DISKFREE
- ========
-
- Ever have a 20 meg hard disk with only 100k of disk space left and not
- know where to start deleting. Well a number of people have expressed
- this difficultly to me. So, I wrote this utility. Some friends could
- only resort to using "chkdsk/v > lpt1" to fiqure out what files were
- where. Well this utility does alot more than that. You can check out
- individual directories ( as many as you specify ) or check the entire
- disk(s).
-
- I was surprised that not many people were aware of the minimum file
- size allocation. That each file is rounded off in size to the nearest
- cluster size. This means if you are running DOS 2.0 on a hard disk
- and create a file with only 3 bytes in it you are actually allocating
- 4096 bytes of disk space, a 99.9% waste of space. Thats why the DOS
- 3.1 patch for cluster size of 2048 is so important. Anyways this pro-
- gram calculates the minimum cluster size and reports both file size
- (as in the DIR command) and also the actual disk allocated space for
- the file.
-
- This program will detect all files system, read only, etc. This is
- shown in the attribute field of output. Here is the equivalence
- table for the attributes:
-
- S = system file
- R = read only file
- H = hidden file or directory
- D = sub directory
- M = modified file
- A = archived file (backed up)
-
- There are two options to the program, which are:
-
- -l or /l = this outputs a form feed after each
- directory is processed.
-
- -s or /s = short summary of selected directories.
-
- also -?,/?,-h,/h = short help.
-
- examples of use:
-
- 1. diskfree -l
-
- this would produce a listing of entire disk and output a
- formfeed after the processing of each directory.
-
- 2. diskfree /s c:\dos c:\system c:\word\doc
-
- this would produce only a summary listing of the three
- specified directories.
-
- 3. diskfree c:\s* or diskfree c:\s???????
-
- this would produce a listing of each directory on c: starting
- with the letter "s".
-
-
-