home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / filesize.arc / FS.DOC < prev   
Encoding:
Text File  |  1986-04-22  |  3.8 KB  |  127 lines

  1. FileSize version 0.01, by John Cooper  April 1986             1
  2.  
  3.  
  4.      FileSize is very similar to Peter Norton's program of the 
  5. same name with the primary difference being this one is free.  
  6. FileSize also differs slightly in appearance and is somewhat more 
  7. flexible in dealing with subdirectories.  
  8.  
  9.      To active FileSize just type the following from any DOS 
  10. prompt.
  11.  
  12.      FS
  13.  
  14. FileSize will respond with a list of switches and options that 
  15. looks much like the following:
  16.  
  17. FileSize version 0.01, John Cooper 4-86
  18. usage:  fs filespec [-s] [-cnnnn] [-cdrive_letter] [-t]
  19.         filespec is a just a pattern such as *.* or *.c
  20.         anything that works with DIR works here.
  21.         -s      Instructs FS to recurse through lower directories
  22.         -c      nnnn specifies a cluster size.  The default is the cluster
  23.                 size of the searched device.
  24.         -c      drive_letter, this causes FS to use the allocation size
  25.                 of the drive named by drive_letter, e.g. -cA
  26.         -t      FS shows ONLY totals.                                          
  27.  
  28.      FS *.*
  29.      This will display all the files, including hidden, system, 
  30. and read-only, in the current directory of the logged device.  
  31. The display is in the following format:
  32.           
  33.           file name        size   allocated wasted 
  34.                             |         |      |
  35. Path: C:\WORDSTAR           |         |      |
  36.             RESUME.A85      2560      4096  38%
  37.                 WS.COM     45056     45056   0%
  38.           INTERNAL.DCT     35584     36864   3%
  39.               JOHN.DCT      2559      4096  38%
  40.               MAIN.DCT    310784    311296   0%
  41.               LUUM.DOC      5009      8192  39%
  42.           WORDSTAR.LBR    216192    217088   0%
  43.           CORRSTAR.OVR     59392     61440   3%
  44.           MAILMRGE.OVR     13568     16384  17%
  45.             WSMSGS.OVR     29056     32768  11%
  46.            WSOVLY1.OVR     41216     45056   9%
  47.                MAKE.WS      2560      4096  38%
  48.            PARSPATH.WS      2560      4096  38%
  49.                 SCI.WS     43008     45056   5%
  50.                  FS.WS      2560      4096  38%
  51.                 FS.DAT         0         0-262%
  52.                 FS.BAK      2304      4096  44%
  53. Directory Totals:   17 files using 813968 bytes with 843776 allocated
  54.                         leaving 4% wasted
  55.  
  56.  
  57.      If more than one directory is processed, via the -s switch, 
  58. a Grand Total line will appear after all processed directories.  
  59. The individual file display can be suppressed with the -t switch.
  60.    
  61.  
  62.  
  63.  
  64. FileSize version 0.01, by John Cooper  April 1986             2
  65.  
  66.  
  67.  
  68.      FileSize requires at least one argument on the command line.  
  69. This can be either a file specification or a switch.  If no 
  70. arguments are present FileSize provides a brief message on its 
  71. proper usage.  
  72.  
  73.      The file specification can be just about anything that is 
  74. acceptable to DIR, e.g. "\", "\*.C", "\LC\*.OBJ", etc.
  75.  
  76.      If no file specification is given than FileSize defaults to 
  77. "*.*" in the current directory of the logged drive.
  78.  
  79.      FileSize is written in Datalight C version 1.6 and bound 
  80. without printf(), to reduce the load module size.
  81.  
  82.      FileSize is released to the public without cost but the 
  83. author retains all commercial rights to the program.  This is to 
  84. say that you may give it away for free but you may not under any 
  85. circumstances sell it for profit.  If you want to include it in 
  86. another package that you are selling (this includes those who 
  87. sell for "handling fees only") then contact the author.
  88.  
  89.      Any questions?  Contact me at GEnie Mail: JOHNCOOPER, 
  90. Compuserve: 74775,756, or Delphi JOHNCOOPER, or (last resort) 
  91. John Cooper, 10070 Westpark #821, Houston, Texas 77042.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.