home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / 4cat13.zip / 4CAT130.DOC < prev    next >
Text File  |  1994-03-09  |  26KB  |  601 lines

  1.  
  2.  
  3.  
  4.                                                                         |
  5.                                                                         |
  6.                                                                         |
  7.                                                                         |
  8.                                                                         |
  9.                                                                         |
  10.                                                                         |
  11.                                                                  4Cat   |
  12.                                                                         |
  13.                                                                         |
  14.                                                          Version 1.30   |
  15.                                                Released March 9, 1994   |
  16.                                                                         |
  17.                                                                         |
  18.                                                   by Earl R. Davidson   |
  19.                                                                         |
  20.                                                                         |
  21.                                                                         |
  22.                                                                         |
  23.                                                                         |
  24.                                                                         |
  25.                                                                         |
  26.              Program and Documentation Copyright (c) 1991, 1993, 1994   |
  27.                                                   by Earl R. Davidson   |
  28.                                             249 West Doublegate Drive   |
  29.                                                      Albany, GA 31707   |
  30.                                                   All rights reserved   |
  31.                                                                         |
  32.                                                                         |
  33.                                                                         |
  34.                                                                         |
  35.                                                                         |
  36.                                                                         |
  37.                                                                         |
  38.                Portions Copyright (c) 1989 - 91 Microsoft Corporation   |
  39.         Portions Copyright (c) 1988 - 91 Ethan Winer, Donald R. Malin   |
  40.                                                 and Crescent Software   |
  41.                                                                         |
  42.                                                                         |
  43.                                                                         |
  44.                                                                         |
  45.                                                                         |
  46.                                                                         |
  47.                                                                         |
  48.                                 4DOS is a trademark of J. P. Software   |
  49.                              PC-DOS is a trademark of IBM Corporation   |
  50.                        MS-DOS is a trademark of Microsoft Corporation   |
  51.                                                                         |
  52.                                                                         |
  53.                                                                         |
  54.                                                                         |
  55.                                                                         |
  56.                                                                         |
  57.  
  58.                                    Notice
  59.  
  60.            This program is not in the public domain.  You are hereby
  61.            granted a limited right to copy the program and pass it on to
  62.            friends and upload it to any bulletin board system, provided
  63.            no fee is charged other than a nominal disk fee.  You may use
  64.            the program for up to ninty (90) days without registering it.
  65.            If you use it for more than this, please register.  Site
  66.            licenses are available for corporate use.  Contact the author
  67.            for more information.
  68.  
  69.  
  70.                                Acknowledgments
  71.  
  72.            This program was written using the Microsoft Basic 7.1
  73.            Professional Development System and the Crescent Software
  74.            QuickPak Professional Advanced Programming Library (Version
  75.            4.01).  4DOS (Version 5.0) by J. P. Software, was also being
  76.            used, and, in fact, provided the inspiration for this
  77.            program.  I thank all three companies for making these
  78.            outstanding products available.
  79.  
  80.  
  81.                                  Disclaimer
  82.  
  83.            4Cat is distributed without warranty, expressed or implied,
  84.            including without limitation the warranties of merchanta-
  85.            bility and of fitness for a particular purpose.  You, the
  86.            user, assume full responsibility for the selection and use of
  87.            4Cat to achieve your desired results.
  88.  
  89.  
  90.                                 Introduction
  91.  
  92.            4Cat is a file cataloging program for disks.  It allows you
  93.            to quickly build or add to a database of your disk files and
  94.            to search this database quickly to locate a particular file.
  95.            4Cat also tracks the free disk space on each disk cataloged.
  96.            This allows you to find a disk with just enough space to
  97.            store a particular file.  Disks are identified and cataloged
  98.            based on their volume label.  Users of 4DOS will have their
  99.            file descriptions added automatically.  These descriptions,
  100.            which may be up to 200 characters in length, are included
  101.            in the searches.
  102.  
  103.            That's all I wanted a catalog program to do, so 4Cat does not
  104.            print disk labels, require the entry of complicated
  105.            categories, or make you confirm numerous choices for each
  106.            disk.  There are no complicated setup steps and no menus to
  107.            wade through.
  108.  
  109.  
  110.            4Cat - Version 1.30                                     Page 1
  111.  
  112.            4Cat includes directory names in the database as if they were
  113.            a file name.  The 4DOS description, if any, is shortened to a
  114.            maximum length of 194 characters and "<DIR> " inserted at the
  115.            beginning of the description.  If you save files in direc-
  116.            tories on your disks this will allow you to search the data-
  117.            base for a directory name.  Note that the files stored in the
  118.            directories are NOT included in the 4Cat database.  Only the
  119.            files and directories in the root of the disk are included.
  120.  
  121.  
  122.  
  123.                                 Installation
  124.  
  125.            COPY the 4CAT.EXE file to a directory that is in your normal
  126.            PATH command.  If you have a utility directory that your
  127.            store various programs in, that would be ideal.  That's it!
  128.            The first time you run 4Cat, it will create a database file
  129.            named 4CAT-DB2.MDB in the same directory in which 4CAT.EXE is
  130.            located.
  131.  
  132.  
  133.                      Converting from a Previous Version
  134.  
  135.            If you have used a version of 4Cat prior to version 1.30+ you
  136.            will need to convert your database file (4CAT-DB.MDB) to the
  137.            new format (4CAT-DB2.MDB).  Follow these steps:
  138.  
  139.              o   Copy the 4CATCNVT.EXE file to the directory that
  140.                    contains your old 4CAT-DB.MDB file.
  141.  
  142.              o   Type 4CATCNVT and press the <ENTER> key.
  143.  
  144.              o   A count of the files is displayed as the conversion
  145.                    progresses.
  146.  
  147.              o   Delete 4CATCNVT.EXE
  148.  
  149.              o   Delete 4CAT-DB.MDB (but not 4CAT-DB2.MDF).  You might
  150.                    want to keep a backup of it.
  151.  
  152.            This conversion is necessary in order to accomodate the new
  153.            200 character long file descriptions supported by 4DOS 5+.
  154.            I've also released a description editor that supports the
  155.            long descriptions.  Its called File Description Editor (FDE)
  156.            and should be available where you found 4CAT130 under the
  157.            filename FDE100 plus the extention for the format your BBS
  158.            operator uses for archiving files.
  159.  
  160.  
  161.  
  162.  
  163.  
  164.            4Cat - Version 1.30                                     Page 2
  165.  
  166.                         Adding Files to the Database
  167.  
  168.            4Cat is invoked from the DOS command line.  There are no
  169.            menus.  There are basically two modes of operation - (1)
  170.            adding files to the database and (2) searching the database
  171.            for a particular file.  Let's look at adding records of files
  172.            first.  The format for calling 4CAT is:
  173.  
  174.                4CAT [/d:] [/n]
  175.  
  176.            where /d: is an optional valid drive designation and /n is an
  177.            optional parameter explained below.  Here are a few command
  178.            line examples:
  179.  
  180.                4CAT                Adds the files on the disk in drive
  181.                                    A: (the default) to the database.
  182.  
  183.                4CAT /b:            Adds the files on the disk in drive
  184.                                    B: to the database.
  185.  
  186.                4CAT /n             Adds the files on the disk in drive
  187.                                    A: and does not stop when the display
  188.                                    of those files fills the screen.
  189.  
  190.                4CAT /mul           For repetitive processing of multiple
  191.                                    disks.  You are prompted to insert
  192.                                    the next disk and press a key.
  193.  
  194.  
  195.            When 4Cat is invoked to add files it first reads the current
  196.            volume label for the disk and allows you to edit or change
  197.            it.  You should consider a numbering system for your disks.
  198.            Mine is simple - I started with 1 (one) and went up.  If you
  199.            change the volume label it will be written back to the disk.
  200.            This is the ONLY time 4Cat writes to a disk, other than to
  201.            the 4CAT-DB2.MDB file.
  202.  
  203.            Unregistered versions then display a few lines reminding you
  204.            to register.
  205.  
  206.            The filenames and directory names are then read, added to the
  207.            database and displayed on your monitor.  The last entry
  208.            displayed is the free space on the disk.
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.            4Cat - Version 1.30                                     Page 3
  219.  
  220.            After the records are added, you are returned to the DOS
  221.            prompt.  Continue cataloging files in this manner.  Note that
  222.            only one set of records will be maintained for each volume
  223.            label.  If you try to add a second disk with a volume label
  224.            that is already cataloged, the existing records will be
  225.            removed from the database before the new ones are added.
  226.  
  227.            To remove records for an entire disk from the database,
  228.            insert a disk with no files on it, execute 4Cat, and enter
  229.            the volume label for the disk you want to delete.  The
  230.            records will be removed and a "No files found" message
  231.            displayed.
  232.  
  233.            That's all there is to cataloging your files.  One simple
  234.            command at the DOS prompt and it's done.
  235.  
  236.  
  237.                            Searching the Database
  238.  
  239.            To search for a file just invoke 4CAT with a search "string"
  240.            at the DOS prompt, where "string" is a word, filename, or
  241.            portion thereof that you wish to find.  4Cat will search the
  242.            filenames, and 4DOS descriptions, in your database.  If your
  243.            "string" is detected, the file information, and 4DOS
  244.            description, will be displayed.  The "string" will be
  245.            highlighted on the display.  If more matches are found than
  246.            will fit on one screen, 4Cat pauses and waits for you to
  247.            press a key.  This method of searching and displaying the
  248.            results is similar to the locate or search function found on
  249.            many BBS programs.
  250.  
  251.            The DOS wildcards (* and ?) are not needed or supported.
  252.            4Cat will find your "string" anywhere in the filename or 4DOS
  253.            description.
  254.  
  255.  
  256.            The format for calling 4Cat in search mode is:
  257.  
  258.                4CAT [/n] string
  259.  
  260.            Here are some examples of searching a 4Cat database:
  261.  
  262.                4CAT basic          Will find all records with the word
  263.                                    "basic" in the filename, directory
  264.                                    name, or description.
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.            4Cat - Version 1.30                                     Page 4
  273.  
  274.                4CAT basic /n       Same as above, but the display of
  275.                                    matching records does not stop when
  276.                                    the screen is full.
  277.  
  278.                4CAT .              4Cat will display ALL filename and
  279.                                    directory records in the database
  280.                                    because they all have a period (.)
  281.                                    between the filename and the
  282.                                    extension.
  283.  
  284.  
  285.  
  286.                             Command Line Options
  287.  
  288.              Option:   /v:string
  289.             Meaning:   Search the volume name for "string"
  290.            Comments:   This allows you to search the disk volume label
  291.                        names for your "string."
  292.             Example:   4CAT /v:127     Search for all records whose
  293.                                        volume label contains the string
  294.                                        "127".
  295.  
  296.  
  297.              Option:   /?
  298.             Meaning:   Display the help screen.
  299.            Comments:   The "/" is optional.  Either "/?" or "?" on the
  300.                        command line will display the help screen.  This
  301.                        means that you cannot search your data base for a
  302.                        question mark only.
  303.  
  304.  
  305.              Option:   /n
  306.             Meaning:   Non-stop display.
  307.            Comments:   Adding the /n option to the command will cause
  308.                        4Cat to not stop when the screen if filled.
  309.                        Instead of pausing with the "press any key"
  310.                        prompt, the screen is cleared and more files
  311.                        listed, until the last screen.  This is most
  312.                        useful when redirecting output to a file as
  313.                        explained below.
  314.  
  315.  
  316.              Option:   /f
  317.             Meaning:   Display the free disk space available on each
  318.                        disk.
  319.            Comments:   The display sorted in order of disk space.  This
  320.                        option allows you to find a disk with just enough
  321.                        space to store a file.  Utilizing this can help
  322.                        you get maximum efficiency from your disks.  You
  323.  
  324.  
  325.  
  326.            4Cat - Version 1.30                                     Page 5
  327.  
  328.                        may enter a number representing a minimum amount
  329.                        of disk space that you need and 4Cat will begin
  330.                        its display with the first disk that has that
  331.                        much space available.  This keeps you from
  332.                        having to page through numerous screens of disks
  333.                        with too little space available.
  334.  
  335.            Examples:   4CAT /f                 Displays all disks and
  336.                                                space available.
  337.  
  338.                        4CAT /free              Same as above.  Retained
  339.                                                for compatiblity with
  340.                                                version 1.00.
  341.  
  342.                        4CAT /f9000             Displays all disks with
  343.                                                at least 9000 bytes of
  344.                                                free space.
  345.  
  346.                        4CAT /f9k               "K" or "k" multiplies
  347.                                                number entered by 1,000.
  348.  
  349.                        4CAT /f1m               "M" or "m" multiplies
  350.                                                number entered by
  351.                                                1,000,000 bytes.
  352.  
  353.  
  354.              Option:   >
  355.             Meaning:   DOS redirection of output.
  356.            Comments:   This is not really an option of 4Cat.  It is the
  357.                        use of DOS's redirection capability.  4Cat does
  358.                        not provide for the direct printing of your
  359.                        database; however, you may use the DOS
  360.                        redirection command to direct the listing to a
  361.                        disk file.  The output file will be a clean,
  362.                        ASCII file, with no headers, footers, or page
  363.                        breaks.  You may then load this file into your
  364.                        favorite editor or word processor and print it.
  365.                        The following commands will output all or a
  366.                        portion of your database to a file named
  367.                        TEXT.TXT:
  368.  
  369.            Examples:   4CAT . > TEST.TXT       List all records to the
  370.                                                file.
  371.  
  372.                        4CAT /n . > TEST.TXT    List all records in "non-
  373.                                                stop" mode to the file.
  374.  
  375.                        4CAT string > TEXT.TXT  List only those records
  376.                                                that match "string" to
  377.                                                the file.
  378.  
  379.  
  380.            4Cat - Version 1.30                                     Page 6
  381.  
  382.                               Database Utilities
  383.  
  384.            Two database maintenance utilities are included:
  385.  
  386.            Repair:     Helps recover databases that have become
  387.                        corrupted due to power outages, etc.
  388.  
  389.            Pack:       Packs the database file by removing records
  390.                        marked for deletion and shrink the file (in
  391.                        32K increments.  Also rebuilds the indexes.
  392.  
  393.            A complete description of the utilities is included in the
  394.            4CATUTIL.DOC file.
  395.  
  396.  
  397.                               4DOS Descriptions
  398.  
  399.            4Cat utilizes the descriptions available with 4DOS.  If the
  400.            DESCRIPT.ION file exists on the disk being cataloged, the
  401.            descriptions will be added to the database.  While 4Cat does
  402.            not allow you to edit these descriptions, a companion program
  403.            named File Description Editor (FDE) is now available.  FDE
  404.            suports the 200 character file descriptions available with
  405.            4DOS 5+ and allows editing a description in a full featured
  406.            wordwraped window.  You may link FDE and 4CAT with a batch
  407.            file or a 4DOS alias.  For example, add both of the following
  408.            lines to your alias file:
  409.  
  410.                fde4 = `fde a: ^ 4cat`
  411.                fde4b = `fde b: ^ 4cat b:`
  412.  
  413.            This will allow you to edit the descriptions using FDE then
  414.            automatically catalog the disk.
  415.  
  416.            Non 4DOS users should be able to use FDE and 4Cat without
  417.            using 4DOS.  Try a batch file similar to this to create/edit
  418.            a DESCRIPT.ION file and then have 4Cat use it:
  419.  
  420.                FDE A:
  421.                4CAT
  422.  
  423.            See the Registration Form at the end of this file for a
  424.            combination offer on registering 4Cat and FDE.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.            4Cat - Version 1.30                                     Page 7
  435.  
  436.                                Release History
  437.  
  438.            Version 1.30 - Released March 9, 1994.
  439.                o       Added support for 200 character descriptions.
  440.  
  441.                o       Added /mul switch to allow repetitive cataloging
  442.                        of multiple disks.
  443.  
  444.                o       Added record count display at end of search.
  445.  
  446.                o       Database repair and packing utilities are now
  447.                        included with the shareware version.  (Mailing
  448.                        disks for free as in Version 1.20 was not a great
  449.                        idea.)
  450.  
  451.                o       A reminder to register is displayed after the
  452.                        volume label is entered.
  453.  
  454.                o       If an attempt to catalog a disk is made without a
  455.                        disk in place a prompt to insert a disk or press
  456.                        "H" for help is displayed, instead of just
  457.                        dumping the user into the help screen every time.
  458.  
  459.            Version 1.20 - Released May 30, 1993.
  460.                o       Inclusion of database repair and packing
  461.                        utilities with registered version.
  462.  
  463.                o       Minor cosmetic changes.
  464.  
  465.            Version 1.10 - Released December 14, 1991.
  466.                o       Additional options added to /f switch allowing
  467.                        the search for free disk space to begin at a
  468.                        minimum amount as specified on the command line.
  469.  
  470.                o       The "-" and "_" caracters are no longer valid
  471.                        command line separators.  This allows them to be
  472.                        used in search strings.
  473.  
  474.                o       Fixed problem of not locating description for
  475.                        files with no filename extention and a filename
  476.                        of less than eight (8) characters.
  477.  
  478.                o       Fixed a couple of minor screen display errors.
  479.  
  480.            Version 1.00 - Released December 2, 1991.
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.            4Cat - Version 1.30                                     Page 8
  489.  
  490.                                 Registration
  491.  
  492.            To register this program for permanent use, complete the form
  493.            on the next page and mail, together with your check for
  494.            $10.00, to the address on the form.  Registering now will
  495.            entitle you to use the current version of 4Cat and all minor
  496.            update and bug-fix releases through the next major release
  497.            number.
  498.  
  499.            For example:  If you are registering version 1.30:
  500.                                                         ^ ^^
  501.                The major version number is 1 -----------| ||
  502.                The minor version number is 1 -------------||
  503.                The bug-fix version number is 0 ------------|
  504.  
  505.            you may use the program at least through version 2.99 without
  506.            re-registering or paying any additional fee.
  507.  
  508.            Opon receipt of your registration form and fee I will MAIL
  509.            you a key to remove the reminder from the program.
  510.  
  511.  
  512.  
  513.  
  514.                                    Support
  515.  
  516.            I will provide limited free (but not toll free) telephone
  517.            support to those people who have registered their copy of
  518.            4Cat.  I may generally be reached between the evening hours
  519.            of 7:00 pm and 10:00 pm Eastern time, or Saturday from 10:00
  520.            am to 10:00 pm.  As you might guess from these hours, I do
  521.            not write programs or provide free support for a living.  You
  522.            may reach me at (912) 432-2479.  Please observe the above
  523.            hours and do not call collect.  Please have your version
  524.            number available when you call.
  525.  
  526.            I may also be reached on CompuServe:  72203,1235.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.            4Cat - Version 1.30                                     Page 9
  543.                       4Cat and/or FDE Registration Form
  544.  
  545.  
  546.            Your Name: _______________________________  Date: __________
  547.  
  548.            Company:   _______________________________
  549.  
  550.            Address:   _______________________________
  551.  
  552.                       _______________________________
  553.  
  554.            City, St:  _______________________________  Zip: ___________
  555.  
  556.            Phone:     (______) ______________________
  557.  
  558.                                            Copies     @ Rate     Amount
  559.  
  560.            4Cat registration:              ______     $10.00     ______
  561.  
  562.            FDE      registration:          ______      10.00     ______
  563.  
  564.            Both 4Cat and FDE registrations:______      15.00     ______
  565.  
  566.            Disk with latest versions of the
  567.              programs you've registered:   ______      10.00     ______
  568.  
  569.  
  570.              Total Enclosed with this form:
  571.                                                                  ======
  572.  
  573.  
  574.            If you've ordered the disk please indicate the disk sizes
  575.            you can use.
  576.                               5.25 DD _____   or 5.25 HD _____
  577.  
  578.                               3.25 DD _____   or 3.25 HD _____
  579.  
  580.  
  581.            4Cat version number: _________ FDE version number:  _________
  582.  
  583.            Where did you obtain your copy of the programs?
  584.  
  585.            _____________________________________________________________
  586.  
  587.            Suggestions:
  588.            _____________________________________________________________
  589.  
  590.            _____________________________________________________________
  591.  
  592.            _____________________________________________________________
  593.  
  594.  
  595.                                    Mail to:    Earl R. Davidson
  596.                                                249 W. Doublegate Drive
  597.                                                Albany, GA 31707
  598.  
  599.            Please include your check or money order for US funds.
  600.            Thanks for using 4Cat and/or FDE, and thanks for registering.
  601.