DELMBASE.DOC

5 KB 4c053551b8de04a7…
    DELMBASE.EXE  (C)opyright 1994 Michael Zmuda.



         This file is FREEWARE (No charge to anyone. Copyright owned by
    Mike Zmuda.  Use + distribute freely. No modifications may be made,
    etc...). Consider it gratis. (Gratis: free/ a present. Now use it 3
    times and it's yours!)


         Warranty: None. Use at your own risk. Back up your MBOARDS.DAT
    file before using it.


         Purpose: Delete a range of TAG message bases quickly and easily.


         Calling Procedure:

         [drive:][\path]DELMBASE[.exe] [offset] [# to delete]

          [drive]   Drive where DELMBASE is located.             |OPTIONAL
          [\path]   Path where DELMBASE is located.              |OPTIONAL
           [.exe]   Use this if there is a DELMBASE.COM/.BAT     |OPTIONAL
                      lurking somewhere on your HD/path
         [offset]   The message you want to start deleting at.   |REQUIRED
    [# to delete]   The number of messages you want to delete.   |REQUIRED

      eg:
         DELMBASE 208 40            - deletes messages 208-247 (inclusive)
         DELMBASE 1 20000           - deletes all message bases except "0"



    NOTE: If you enter an out-of range value for the offset, DELMBASE will
          end in error without doing anything.

    NOTE: MBOARDS.DAT must reside in the current (active) directory on the
          current (active) drive. If you get a runtime error message, it's
          probably because DELMBASE can't find MBOARDS.DAT.

          If you enter an out-of range value for the # of messages to
    delete parameter, DELMBASE will delete all messages to the end.



    DELMBASE uses TAG's internal indexing formula:

       examples:

         Private E-Mail        section 0
         General messages      section 1
         BBS news              section 2
         ANSI ads              section 3
         ARCHIVE comments      section 4
           .                     .
           .                     .
           .                     .
         Z-Modem support       section 459

         If you wanted to delete message bases 1 and 2 (General messages,
    BBS news, and ANSI ads), you would run DELMBASE 1 3. To delete Private
    E-Mail, you would run DELMBASE 0 1.



    NOTE: Because Tag displays the message and file bases under the group
          that is currently active, be sure that ALL groups are activated
          (if you use groups, this concerns you; if not, disregard this
          segment).  There are a few ways to do this: make and use a
          complex menu entry that allows groups 0-255 (check the docs on
          how to do this) or, from the wait screen, hit S (Systems Config),
          B (Message Editor), enter your password, and there you are. All
          groups become active, and all message bases can be seen,
          regardless of group identifier.



         DELMBASE uses the disk extensively. If you use a cache, this is
    where it pays off! Processing for my 500+ message bases took under a
    second on my 486/50 under OS/2 2.1. Before doing any modification on
    the MBOARDS.DAT file, DELMBASE will check the current drive for the
    proper amount of free space. If there isn't enough space, it will
    terminate without doing a thing.


         DELMBASE works by first making a backup copy of the current
    MBOARDS.DAT file (renamed MBOARDS.BAK). DELMBASE then selectively
    copies certain aspects of the MBOARDS.BAK file to a new MBOARDS.DAT
    file. Quite logically, it reads the MBOARDS.BAK file for [offset-1]
    times and writes to the MBOARDS.DAT file offset-1 times. It then reads
    another [number of boards to delete] times and writes nothing. It
    completes by reading the rest of the records in MBOARDS.BAK and writing
    them to MBOARDS.DAT. It's quick, easy, safe, and effective (I guess
    that qualifies it for FDA approval, eh?)


         Now that you know how it works, enjoy it.


    Warranty/Guarantee: This program is provided as is. The user agrees by
         using the program that he/she is doing so under his/her own free
         will and understands that (with these computers now-a-days),
         anything can and (eventually) WILL go wrong and that Mike Zmuda is
         NOT responsible.

    Michael Zmuda is hereby rendered NOT RESPONSIBLE FOR SH*T!


         -------------------------------------------------------------
         -- Experiencing troubles? Call the WWAR BBS (516)437-0793. --
         --         1:2619/115.  14.4Kbaud. .7 gigs on-line.        --
         -------------------------------------------------------------


         DELMBASE is intended for use solely on the TAG BBS ver 2.7. It was
    created with the use of the TAG record structures provided by the TAG
    TEAM.


    Keep using TAG. It's the best!


         There are things that are known, and things that are unknown, and
    in between are the [school] doors. Stay in school. It'll change your
    life.



    <EOF>