home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / DRSZ10.ZIP / DIRSIZE.DOC < prev    next >
Text File  |  1992-09-27  |  4KB  |  126 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                    Directory Size Information v1.0 for OS/2
  11.  
  12.                           Released September 24, 1992
  13.  
  14.                     Copyright (c) 1991 by Keith Ledbetter
  15.  
  16.  
  17.          This program may be used and/or distributed free of charge!
  18.  
  19.  
  20.  
  21.                               _______
  22.                          ____|__     |               (tm)
  23.                       --|       |    |-------------------
  24.                         |   ____|__  |  Association of
  25.                         |  |       |_|  Shareware
  26.                         |__|   o   |    Professionals
  27.                       -----|   |   |---------------------
  28.                            |___|___|    MEMBER
  29.  
  30.  
  31.  
  32.                      Written by Keith Ledbetter
  33.                                 4240 Ketcham Drive
  34.                                 Chesterfield, VA  23832
  35.                                 (804) 674-0780
  36.                                 (6:00pm - 10:00pm Eastern Time)
  37.  
  38.  
  39.                     Electronic mail on GEnie     : ORION.MICRO
  40.                                        CompuServe: 72240,1221
  41.                                               AOL: KLedbetter
  42.  
  43.  
  44.      Program and Documentation are Copyright (c) 1991 by Keith Ledbetter.
  45.                              All rights reserved.
  46.  
  47.  
  48.  
  49.                            Directory Size Information                 Page 1
  50.  
  51.  
  52.                                   Introduction                                
  53.  
  54.  
  55.  
  56. Introduction
  57. ------------
  58.  
  59.   Thank you for taking the time to download DIRSIZE.   DIRSIZE is a program
  60. that allows you to quickly and easily determine the total size (in both
  61. files and bytes) of any directory.    Please note that by "directory"
  62. DIRSIZE means the "named directory" plus all "child directories" under that
  63. directory.   In other words, if you do a DIRSIZE of your C:\ root directory,
  64. you'll actually see how many files/bytes are occupied on your entire C: hard
  65. drive.
  66.  
  67.  
  68. How it works
  69. ------------
  70.  
  71.   Invoking DIRSIZE is simple.  First, you should copy DIRSIZE to one of the
  72. directories listed in your PATH variable (most people have a directory named
  73. UTILS or PROGRAMS, etc).   Then you will be able to execute DIRSIZE no matter
  74. where you currently are on your hard drive.
  75.  
  76.   To invoke DIRSIZE, simply type:
  77.  
  78.                 DIRSIZE [directory_name]
  79.  
  80.   If you don't specify a directory name, DIRSIZE will operate on the current
  81. default directory.   You can also specify directory names on other drives,
  82. or "logical" directories (such as "..").   A few examples:
  83.  
  84.      DIRSIZE                       -  the current directory
  85.      DIRSIZE E:\Utils              -  the E:\UTILS\ directory
  86.      DIRSIZE ..                    -  the current directory's parent directory
  87.      DIRSIZE "i:\A long directory" - supports HPFS, too!
  88.  
  89.   You can also specify a FILEMASK with DIRSIZE if you wish.  I doubt that
  90. this option will be used very often, but you can use it to only get the file
  91. sizes of specific files in a directory.  Some examples:
  92.  
  93.          DIRSIZE *.c              -  all .C files in this directory
  94.          DIRSIZE E:\WINDOWS\*.BAT -  all .BAT files in the Windows directory
  95.  
  96.                            Directory Size Information                 Page 2
  97.  
  98.  
  99.                              Command Line Switches                            
  100.  
  101.  
  102.  
  103.      Switch:  -P
  104.     Meaning:  page break
  105. Description:  The '-p' switch tells DIRSIZE to stop the screen display and
  106.               wait for a keypress after every 24 display lines.  Note that
  107.               this switch is ignored if you are redirecting the output of
  108.               DIRSIZE to something other than the screen.
  109.  
  110.  
  111.      Switch:  -T
  112.     Meaning:  only show the totals
  113. Description:  The '-t' switch tells DIRSIZE to only display the totals and
  114.               not each individual directory.   Only the "top level"
  115.               directory name will be shown, but all "child" directories
  116.               WILL be scanned as normal.
  117.  
  118.  
  119.      Switch:  -?
  120.     Meaning:  help!
  121. Description:  The '-?' causes DIRSIZE to display a short help screen and
  122.               then abort the program.
  123.  
  124.  
  125. End of document.
  126.