home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / diskfree.arc / DISKFREE.DOC next >
Encoding:
Text File  |  1986-02-04  |  2.5 KB  |  63 lines

  1.  
  2.  
  3.  
  4.                 DISKFREE
  5.                 ========
  6.  
  7.         Ever have a 20 meg hard disk with only 100k of disk space left and not
  8.         know where to start deleting. Well a number of people have expressed
  9.         this difficultly to me. So, I wrote this utility. Some friends could
  10.         only resort to using "chkdsk/v > lpt1" to fiqure out what files were
  11.         where. Well this utility does alot more than that. You can check out
  12.         individual directories ( as many as you specify ) or check the entire
  13.         disk(s).
  14.  
  15.         I was surprised that not many people were aware of the minimum file
  16.         size allocation. That each file is rounded off in size to the nearest
  17.         cluster size. This means if you are running DOS 2.0 on a hard disk
  18.         and create a file with only 3 bytes in it you are actually allocating
  19.         4096 bytes of disk space, a 99.9% waste of space. Thats why the DOS
  20.         3.1 patch for cluster size of 2048 is so important. Anyways this pro-
  21.         gram calculates the minimum cluster size and reports both file size
  22.         (as in the DIR command) and also the actual disk allocated space for
  23.         the file.
  24.  
  25.         This program will detect all files system, read only, etc. This is
  26.         shown in the attribute field of output. Here is the equivalence
  27.         table for the attributes:
  28.  
  29.                         S = system file
  30.                         R = read only file
  31.                         H = hidden file or directory
  32.                         D = sub directory
  33.                         M = modified file
  34.                         A = archived file (backed up)
  35.  
  36.         There are two options to the program, which are:
  37.  
  38.                         -l or /l = this outputs a form feed after each
  39.                                    directory is processed.
  40.  
  41.                         -s or /s = short summary of selected directories.
  42.  
  43.                 also  -?,/?,-h,/h = short help.
  44.  
  45.         examples of use:
  46.  
  47.         1.      diskfree -l
  48.  
  49.                 this would produce a listing of entire disk and output a
  50.                 formfeed after the processing of each directory.
  51.  
  52.         2.      diskfree /s c:\dos c:\system c:\word\doc
  53.  
  54.                 this would produce only a summary listing of the three
  55.                 specified directories.
  56.  
  57.         3.      diskfree c:\s*       or      diskfree c:\s???????
  58.  
  59.                 this would produce a listing of each directory on c: starting
  60.                 with the letter "s".
  61.  
  62.  
  63.