home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / util2 / ph-utils.lzh / STORM.DOC < prev    next >
Text File  |  1989-07-11  |  23KB  |  702 lines

  1.  
  2.  
  3.                   STORM
  4.  
  5.  
  6.  
  7.                   Disk Storage Room Reporting Utility
  8.  
  9.  
  10.  
  11.                   Version  1.00
  12.                   Released 05-23-89
  13.  
  14.  
  15.  
  16.  
  17.                   Herron Software
  18.                   P.O. Box 1288
  19.                   Battle Ground, Washington  98604
  20.  
  21.  
  22.  
  23.  
  24.          COPYRIGHT 1988, 1989 Phil Herron.  ALL RIGHTS RESERVED.
  25.  
  26.  
  27.                   DISCLAIMER OF WARRANTY
  28.             __________________________________________
  29.  
  30.  
  31.             THIS PRODUCT IS LICENSED AS IS AND WITHOUT
  32.             WARRANTY OF ANY KIND.  THE AUTHOR MAKES NO
  33.             EXPRESS OR IMPLIED WARRANTIES WITH REGARD
  34.             TO THIS PRODUCT, INCLUDING BUT NOT LIMITED
  35.             TO MERCHANTABILITY OR FITNESS FOR ANY
  36.             PURPOSE.  IN NO EVENT SHALL THE AUTHOR BE
  37.             LIABLE FOR LOSS OF PROFIT OR ANY OTHER
  38.             COMMERCIAL DAMAGE ARISING FROM EITHER THE
  39.             USE OF OR THE INABILITY TO USE THIS PRODUCT.
  40.  
  41.  
  42.             This product should be thoroughly evaluated
  43.             using backed up or noncritical data and files.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.    _________________________________________________________________
  50.  
  51.    Table of Contents                                         Section
  52.    _________________________________________________________________
  53.  
  54.    Shareware.................................................. 0.1.0
  55.       What it is.............................................. 0.1.1
  56.       License Terms........................................... 0.1.2
  57.       Registration............................................ 0.1.3
  58.  
  59.    Evaluation................................................. 0.2.0
  60.       Evaluation Version...................................... 0.2.1
  61.       Evaluation Menu......................................... 0.2.2
  62.       Virus Prevention........................................ 0.2.3
  63.  
  64.    STORM...................................................... 1.0
  65.       Introduction............................................ 1.1
  66.       Explanation............................................. 1.2
  67.       System Requirements..................................... 1.3
  68.          Installing........................................... 1.3.1
  69.       Help.................................................... 1.4
  70.       Syntax.................................................. 1.5
  71.          Wildcard Characters.................................. 1.5.1
  72.       Examples................................................ 1.6
  73.          Operating screen..................................... 1.6.1
  74.       File Attributes......................................... 1.7
  75.       File Allocation Size.................................... 1.8
  76.       Version History......................................... 2.0
  77.  
  78.    Support.................................................... 9.0
  79.       Problem Resolution...................................... 9.1
  80.       Before Reporting........................................ 9.2
  81.       Reporting a problem..................................... 9.3
  82.       Custom Modifications.................................... 9.4
  83.       Correspondence.......................................... 9.5
  84.  
  85.    Product Catalog........................................... 10.0
  86.  
  87.  
  88.  
  89.  
  90. _________________________________________________________________
  91.  
  92. 0.1.0          Shareware
  93. _________________________________________________________________
  94.  
  95.  
  96.  
  97.  
  98. 0.1.1   The SHAREWARE Concept
  99. _____________________________
  100.  
  101.    "Shareware" is a software distribution method which enables
  102.    the potential user to obtain software at very low initial
  103.    cost, for evaluation on a trial basis.
  104.  
  105.    You can evaluate the software in your own environment, on your
  106.    own machine, with the programs and data that you normally use.
  107.    You're not required to make payment and become a registered
  108.    user unless the software meets your needs.
  109.  
  110.    Another benefit of Shareware is lower pricing.  By minimizing
  111.    the marketing and advertising expenses associated with more
  112.    traditional software distribution methods, Shareware products
  113.    can be priced lower.  You don't pay for what you don't need or
  114.    use.
  115.  
  116.    You are encouraged to share the evaluation version of this
  117.    software with others, so long as you follow the limitations
  118.    set forth in the LICENSE TERMS section below.
  119.  
  120.  
  121.  
  122.  
  123. 0.1.2   LICENSE TERMS
  124. _____________________
  125.  
  126.    This product and its documentation are copyrighted and owned
  127.    solely by the author, who reserves all rights to any benefits
  128.    derived from it.  It is distinctly separate from, and should
  129.    not be confused with, those categories of software known as
  130.    "public domain" or "freeware."
  131.  
  132.    You are granted without charge a limited license to use the
  133.    evaluation version of this software on a trial basis, for
  134.    purposes of deciding whether to continue using (and therefore
  135.    whether to register) the product, and to transmit this
  136.    evaluation version to associates by copying on diskette or
  137.    uploading to electronic bulletin board services, so long as
  138.    the following CONDITIONS are met:
  139.  
  140.       (a) The program and its documentation file must be
  141.           distributed together.
  142.  
  143.       (b) The program and its documentation must not be
  144.           altered in any way.  If you wish to include
  145.           notes for other evaluators, please add them in
  146.           a separate file and include that file along
  147.           with the program and documentation files.
  148.  
  149.  
  150.  
  151.  
  152. 0.1.3   REGISTRATION
  153. ____________________
  154.  
  155.       When you send in the registration form and fee, you'll
  156.       receive by return mail a diskette containing the latest
  157.       REGISTERED version of the program and documentation.
  158.  
  159.  
  160.    BENEFITS OF REGISTRATION
  161.  
  162.       The registered version WILL NOT include the Evaluation Menu
  163.       front-end or the forms-printing section of this version.
  164.       Thus it will be more convenient to use, from either the DOS
  165.       prompt or from batch files.  It will also be about 16K
  166.       bytes smaller, for more efficient disk storage and faster
  167.       loading.
  168.  
  169.       The registered version WILL include any new functions
  170.       or enhancements made to date.
  171.  
  172.       You will receive notification of future updates and
  173.       new products.
  174.  
  175.       You will be able to upgrade to newer versions at a
  176.       reduced cost.
  177.  
  178.  
  179.    REGISTRATION FORM
  180.  
  181.       The registration form and a pre-addressed mailing cover
  182.       can be printed from the "Forms Printing" selection of
  183.       the Evaluation menu, discussed in section 0.2.2 below.
  184.  
  185.  
  186.    FEES
  187.  
  188.       The single-quantity registration fee is displayed on the
  189.       initial Evaluation Menu screen.  Higher quantities are
  190.       discussed below.
  191.  
  192.  
  193.    QUANTITY DISCOUNTS
  194.  
  195.       Each registered copy of this software will be licensed for
  196.       operation at only one location (on only one machine) at any
  197.       one time.  If this software will be in use at more than one
  198.       location at the same time, the appropriate number of
  199.       registrations must be made.
  200.  
  201.       Multiple-quantity registration fees are displayed in the
  202.       "QUANTITY DISCOUNT" section of the Evaluation menu.
  203.  
  204.       You can take advantage of quantity discounts by ordering
  205.       multiple registrations of one program or single
  206.       registrations of several different programs at the same
  207.       time.  You also save on shipping and handling charges
  208.       by registering several products together.
  209.  
  210.  
  211.    GROUP REGISTRATIONS
  212.  
  213.       You can also get quantity discounts by combining orders with
  214.       associates:
  215.  
  216.          (1)   Complete a separate registration form for each person.
  217.                   Each person's name, address and programs to be
  218.                   registered are needed for support and update
  219.                   notification purposes.
  220.  
  221.          (2)   Include only one standard shipping and handling charge.
  222.                   Cross out the "Shipping & handling" amounts on
  223.                   all but one registration form; the combined
  224.                   order will be sent to the name and address on
  225.                   that form.
  226.  
  227.          (3)   Send all the forms together in one envelope or mailing
  228.                   cover, with a single check or money order.
  229.  
  230.  
  231.  
  232.  
  233. _________________________________________________________________
  234.  
  235. 0.2.0          Evaluation
  236. _________________________________________________________________
  237.  
  238.  
  239.  
  240.  
  241. 0.2.1   EVALUATION VERSION
  242. __________________________
  243.  
  244.    This software contains the complete and fully functional version
  245.    of the program, the latest available at the time of this release.
  246.  
  247.    The program itself is identical to the REGISTERED version.
  248.    An Evaluation Menu and forms-printing section were added
  249.    to ensure that:
  250.  
  251.       (a)   Registration information and forms will not
  252.             become separated from the program file.
  253.  
  254.       (b)   Users who might be unfamiliar with the process
  255.             of displaying a file's contents on the screen or
  256.             printer will have no difficulty learning about,
  257.             evaluating or registering this product.
  258.  
  259.  
  260.  
  261.  
  262. 0.2.2   EVALUATION MENU
  263. _______________________
  264.  
  265.    The program is invoked from the DOS prompt by typing its name
  266.    and pressing the RETURN or ENTER key.
  267.  
  268.  
  269.    The initial screen displays the warranty section and some
  270.    information about the program:
  271.  
  272.       Program name,
  273.       Version number,
  274.       Release date,
  275.       Single-quantity registration fee.
  276.  
  277.  
  278.    It next displays the Shareware Product EVALUATION MENU.
  279.    A single key press will select the following functions
  280.    from the menu:
  281.       _________________________________________
  282.  
  283.       ESC - EXIT to DOS without evaluating this program
  284.  
  285.        R  - READ the documentation (THIS file)
  286.  
  287.        x  - EVALUATE this program
  288.  
  289.        Q  - QUANTITY Discount information
  290.  
  291.        F  - FORMS printing menu - registration & mailer
  292.       _________________________________________
  293.  
  294.  
  295.    When you press "R" to READ the documentation, this file will
  296.    be shown one screen at a time.  The display pauses whenever the
  297.    screen becomes full, and prompts...
  298.  
  299.                      <downArrow> or Esc
  300.  
  301.    The <downArrow> character is similar to the "MORE" prompt in
  302.    other DOS utilities.  It indicates that more is available.
  303.    Press ESCape to exit back to the Evaluation Menu, or any normal
  304.    typing key to continue (space bar is a convenient key to use).
  305.  
  306.  
  307.  
  308.  
  309. 0.2.3   VIRUS PREVENTION
  310. ________________________
  311.  
  312.    If you'd like to evaluate this software but you're not sure
  313.    where it's been, you can get a copy straight from the source
  314.    for a $4.00 charge to cover the cost of the diskette, shipping
  315.    and handling.  If your address is outside the U.S. and Canada,
  316.    add an additional $3.00 (total $7.00, in U.S. funds).
  317.  
  318.    Include your mailing address and the name of the program.
  319.    By return mail you'll receive the latest evaluation version
  320.    of that program and as many others as will fit on a 5.25
  321.    inch diskette.
  322.  
  323.  
  324.  
  325.  
  326. ______________________________________________________________
  327.  
  328.                STORM
  329. 1.0
  330.                Disk Storage Room Reporting Utility
  331. ______________________________________________________________
  332.  
  333.  
  334.  
  335.  
  336. 1.1   INTRODUCTION
  337. __________________
  338.  
  339.    If you ever use the DOS "COPY" command to make distribution
  340.    or backup copies from a hard disk, you might like to know the
  341.    amount of space the files will take up on diskette.  This
  342.    amount is useful for determining the number of diskettes
  343.    required.  It also helps in efficiently dividing the files
  344.    among diskettes.
  345.  
  346.    A logical method for finding the total space required, you
  347.    might think, would be to run the DOS "DIR" command to get the
  348.    size of each file.  Then you could add up all the sizes.
  349.  
  350.  
  351.    The problem with this method is that file size is not
  352.    necessarily the same as storage size.  DOS doesn't dole out
  353.    disk space in one-byte increments; this would be entirely too
  354.    straightforward.
  355.  
  356.    Instead, it assigns space in clusters.  A cluster can contain
  357.    one or more sectors, depending on the type of disk and the DOS
  358.    version.  A sector can be four different sizes, although it is
  359.    usually 512 bytes.
  360.  
  361.    For example, on a double-sided double-density (DSDD) diskette,
  362.    DOS version 2.1 uses 512 bytes per sector and two sectors per
  363.    cluster. Thus, if you stored a one-byte file on this diskette,
  364.    it would require 1024 (512 x 2) bytes of storage space.  The
  365.    file will be stored in one byte; the other 1023-byte space is
  366.    tied up and cannot be used for anything.  The difference
  367.    between file size and space required makes estimating very
  368.    difficult.
  369.  
  370.    See section 1.8, File Allocation Size, for information on
  371.    cluster sizes for other disks/other DOS versions.
  372.  
  373.  
  374.  
  375.  
  376. 1.2   EXPLANATION
  377. _________________
  378.  
  379.    STORM (STorage RooM) takes into account all of the factors
  380.    involved in determining required storage size.  It locates
  381.    files specified on the command line and determines their
  382.    actual total size and the amount of room that will be needed
  383.    to store them.  If invoked with no command line arguments,
  384.    it displays a help screen and returns to the DOS prompt.
  385.  
  386.    It reports on file storage sizes for just about ANY disk drive
  387.    used with DOS version 2 or later.  Other utilities will report
  388.    on storage requirements for fixed cluster sizes of 2K or 4K;
  389.    STORM handles all cluster sizes from 512 bytes through 16K.
  390.  
  391.  
  392.  
  393.  
  394. 1.3     SYSTEM REQUIREMENTS
  395. ___________________________
  396.  
  397.    PC, XT, AT or compatible.
  398.    DOS version 2.1 or later.
  399.    64K free memory.
  400.  
  401.  
  402.  
  403.  
  404. 1.3.1   INSTALLING
  405. __________________
  406.  
  407.    The program can be run from diskette or from hard disk.
  408.    No installation is necessary, other than copying the files
  409.    to a drive and directory of your choosing.
  410.  
  411.  
  412.  
  413.  
  414. 1.4   HELP
  415. __________
  416.  
  417.    Can't remember the command line syntax?
  418.    Issue the program's name without any parameters; it
  419.    will display a help screen, then return to the DOS prompt.
  420.  
  421.  
  422.  
  423.  
  424. 1.5   SYNTAX
  425. ____________
  426.  
  427.  
  428.       StoRm [filespec]
  429.  
  430.          Where [filespec] is the string needed to reference
  431.          one or more files.  It can also be shown as
  432.  
  433.                [d:][path][filename.ext].
  434.  
  435.          The minimum filespec needed is filename.ext.  If the
  436.          file is in another directory and/or on another drive,
  437.          the drive name and/or path name must also be given.
  438.  
  439.          The complete filespec for a file named ThisFile.Doc
  440.          residing in drive A: in a subdirectory named ThisSub is
  441.  
  442.                A:\ThisSub\ThisFile.Doc
  443.  
  444.          For further information on filespecs, see your DOS manual.
  445.  
  446.  
  447.  
  448.  
  449. 1.5.1   WILDCARD CHARACTERS
  450. ___________________________
  451.  
  452.    Wildcard characters * and ? are legal for use in specifying
  453.    filenames and extensions.
  454.  
  455.  
  456.  
  457.  
  458. 1.6   EXAMPLES
  459. ______________
  460.  
  461.          StoRm *.*            finds  ALL files in current subdirectory.
  462.  
  463.          StoRm A:\Doc\*.Txt   finds  all .TXT files in subdirectory
  464.                               DOC on drive A.
  465.  
  466.  
  467.  
  468.  
  469. 1.6.1   OPERATING SCREEN
  470. ________________________
  471.  
  472.    The operating screen appears whenever "STORM" is issued from the
  473.    DOS prompt (or from a batch file) with a file specification.  In
  474.    this example, the complete command line is:
  475.  
  476.             Storm a:*.txt
  477.  
  478.    and the screen displays:
  479.  
  480.        __StoRm_______________________
  481.       |______________________________|
  482.  
  483.       A:*.TXT - found 1 file containing 1 byte
  484.  
  485.                    Cluster    Storage
  486.           Drive     size       required
  487.          ┌──────┐ ┌───────┐ ┌────────────┐
  488.                       512            512
  489.            A:        1024          1,024
  490.                      2048          2,048
  491.                      4096          4,096
  492.               C:     8192          8,192
  493.                     16384         16,384
  494.          └──────┘ └───────┘ └────────────┘
  495.  
  496.  
  497.    STORM displays the number of files that match the input
  498.    filespec, and the sum of their individual sizes.
  499.  
  500.    It then displays a table indicating the storage space needed
  501.    for these files, for a number of conventional cluster sizes.
  502.  
  503.    Finally, it positions the associated drive's letter on the line
  504.    corresponding to that drive's cluster size.
  505.  
  506.    The above example indicates that the file found, with an actual
  507.    length of one byte, will require 1024 bytes of storage space on
  508.    drive A or 8192 bytes on drive C.
  509.  
  510.  
  511.  
  512.  
  513. 1.7   FILE ATTRIBUTES
  514. _____________________
  515.  
  516.    StoRm will find files with attributes of:
  517.  
  518.       Ordinary, Archive, ReadOnly.
  519.  
  520.  
  521.    All files with other attributes are ignored:
  522.  
  523.       Hidden, System, Volume label, Directory.
  524.  
  525.  
  526.  
  527.  
  528. 1.8   FILE ALLOCATION SIZE
  529. __________________________
  530.  
  531.    The minimum block size used for file storage allocation depends on
  532.    the DOS version and the type of disk being used.  Below is a table
  533.    containing a few of the possible combinations.
  534.  
  535.  
  536.                                       Sectors
  537.                               DOS       per
  538.       DISK TYPE             version   Cluster   Cluster Size
  539.       -------------------   -------   -------   ------------
  540.        DSDD floppy: 362Kb     2         2         1024 bytes
  541.  
  542.        Hard disk:   10Mb      2         8         4096 bytes
  543.                      "        3         8         4096 bytes
  544.  
  545.        Hard disk:   20Mb      2        16         8192 bytes
  546.                      "        3         4         2048 bytes
  547.  
  548.  
  549.  
  550.  
  551. 2.0   VERSION HISTORY
  552. _____________________
  553.  
  554.    1.00  Initial release.
  555.  
  556.  
  557.  
  558.  
  559. _________________________________________________________________
  560.  
  561. 9.0            Support
  562. _________________________________________________________________
  563.  
  564.  
  565.  
  566.  
  567. 9.1   PROBLEM RESOLUTION
  568. ________________________
  569.  
  570.    Please document and report any anomaly in program operation,
  571.    whether it's a genuine "bug" or just some feature of the
  572.    program that particularly "bugs" you.
  573.  
  574.    If you're the first person to document and report a problem
  575.    that we agree needs attention, you'll receive a free upgrade
  576.    with the correction when it's been made.  If you're a
  577.    registered user, you'll get the upgraded registered version;
  578.    if you haven't yet registered, you'll get the upgraded
  579.    evaluation version.
  580.  
  581.  
  582.  
  583.  
  584. 9.2   BEFORE REPORTING
  585. ______________________
  586.  
  587.    Things to try prior to reporting a problem:
  588.  
  589.       1 - Reread the documentation to make sure you understand
  590.           what we thought we understood when we wrote it.
  591.  
  592.       2 - If the system reports "Bad command or file name" when
  593.           you attempt to run the program, its executable file
  594.           (or at least the file name you specified) was not found.
  595.  
  596.           First, make sure no typos or misspellings have crept
  597.           into your command line; next, try changing your PATH
  598.           setting, or make the drive & directory where the program
  599.           resides the "current" drive & directory.
  600.  
  601.       3 - If the program is being run from a batch file, try
  602.           deleting lines previous to the line that actually
  603.           invokes the program, to see if some prior activity
  604.           is causing the problem.
  605.  
  606.       4 - If you have any memory-resident or "TSR" utilities
  607.           installed (pop-up calculators/note pads, keyboard
  608.           enhancements, etc.), try removing them from memory
  609.           and running the program again to see if the problem
  610.           reoccurs.
  611.  
  612.  
  613.  
  614.  
  615. 9.3   REPORTING A PROBLEM
  616. _________________________
  617.  
  618.    If the problem persists, please document it as completely and
  619.    accurately as possible; we have to be able to duplicate it
  620.    before we can begin to resolve it.
  621.  
  622.    Include at least the following:
  623.  
  624.       1 - Version of DOS you are using.
  625.       2 - Machine type, drives, memory, etc.
  626.       3 - Programs executed prior to the problem.
  627.       4 - Problem program's name and version number.
  628.       5 - Where and how you obtained the problem program.
  629.       6 - Address and/or phone number where you can be contacted.
  630.       7 - Anything you can think of that might relate to the problem;
  631.           for example, listings of your AUTOEXEC.BAT and CONFIG.SYS
  632.           files, or any batch files used to run the program.
  633.       8 - Any relevant printouts.
  634.  
  635.  
  636.    NOTE: If you're a registered user, you'll find the utility
  637.          UserResp.Exe on the distribution diskette; it can be used
  638.          to print a pre-addressed mailer and a problem report.
  639.  
  640.          If you have not yet registered, send problem reports to the
  641.          address below (or print the pre-addressed mailer from the
  642.          Evaluation Menu).
  643.  
  644.  
  645.  
  646.  
  647. 9.4   CUSTOM MODIFICATIONS
  648. __________________________
  649.  
  650.    If you need custom modifications to this software for your
  651.    particular application, please write to the below address
  652.    with complete details of your requirements.
  653.  
  654.  
  655.  
  656.  
  657. 9.5   CORRESPONDENCE
  658. ____________________
  659.  
  660.    We welcome any comments or suggestions you might have
  661.    concerning improvements and future enhancements to this
  662.    product.  Send all correspondence to:
  663.  
  664.              Phil Herron
  665.              P.O. Box 1288
  666.              Battle Ground, Washington  USA  98604
  667.  
  668.  
  669.  
  670.  
  671. _________________________________________________________________
  672.  
  673. 10.0           Product Catalog
  674. _________________________________________________________________
  675.  
  676.  
  677.    This section contains a list of products available or near
  678.    completion as of this release date; it will be updated
  679.    whenever new products are added.
  680.  
  681.  
  682.  
  683.       ChkD     - Drive  Total/Free/Used report by value & percent
  684.       ChkM     - Memory Total/Free/Used report by value & percent
  685.       CleanOut - Selective file deletion, with confirmation
  686.       CleanTxt - WordStar to Ascii convert, ctrl char strip, tab expand
  687.       CleanZ   - Ctrl-Z End Of File char strip or replace
  688.       FindF    - Find File(s) in any directory of current drive
  689.       Gen      - Generate files for testing printer, storage or timing
  690.       KeySet   - CapsLock-NumLock-ScrollLock-PrtSc key setup
  691.       PrinTest - Parallel Printer Test & Status reporting
  692.       Qscn     - Convert text to executable file for Quick Screen display.
  693.       ScanF    - Scan File   for text strings
  694.       ScanM    - Scan Memory for text strings
  695.       Split    - File splitter
  696.       StoRm    - STorage RooM needed for files on any disk/any DOS ver.
  697.  
  698.  _______________________________________________________________
  699. |                                                               |
  700. |        COPYRIGHT 1989 Phil Herron.  ALL RIGHTS RESERVED.      |
  701. |_______________________________________________________________|
  702.