



                                     Z A B

                            Z e r o   A l l   B u t

                                  Version 1.2

                                 February 1997




  This program deletes all the files/subdirectories in the current
directory but preserves the ones that are specified.

  This program is a mix of two really usefull utilities, that is "DAB"
("Delete All But", Copyright Scott R. Anderson) and "ZERO" (Copyright
Kim Young Jae). The first one is designed to delete ALL files EXCEPT
those which are specified, and the second one is equivalent to DOS'
DELTREE program.

  ZAB is therefore able to delete all the files/subdirectories in the
current directory, and to preserve the files or subdirectories you
specified. Of course you can specify as many files as DOS allows you to
(generally the maximum is 128 characters). You can also use the DOS'
wildcards "?" and "*".



EXAMPLES:

Let's suppose you have the following directory structure:

UTILS
   FILE_ID.DIZ
   UTILS.ICO

GRAPHIC
   DRAW
          ...some files...
   
   PAINT
           ...some files...
MUSIC
    PLAY
           ...some files...
    
    RECORD
            ...some files...
            HELP_ME.DOC
            MY_REC.DOC

If you want to:

 Delete everything (including directories GRAPHIC and MUSIC, and their
  subdirectories) but keep the file UTILS\FILE_ID.DIZ:

ZAB FILE_ID.DIZ


 Delete everything but keep all the files in the directory MUSIC\PLAY:

ZAB MUSIC\PLAY\*.*


 Delete everything but the subtree beginning at the MUSIC directory:

ZAB MUSIC


 Delete everything but keep the files FILE_ID.DIZ and UTILS.ICO, and
 the files MUSIC\RECORD\*.DOC:

ZAB *.* MUSIC\RECORD\*.DOC


 Delete all files in every subdirectory, but preserve FILE_ID.DIZ and
  keep all directories names (the directories will still exist, but
  there won't be anything in them):

ZAB -s FILE_ID.DIZ


 If, like me, you have some big ZIP-files (created with ZIP -rp) that
  create a lot of directories, ZAB is all what you need! Let's assume
  you have unziped SOUNDS.ZIP (PKUNZIP -d SOUNDS.ZIP) and it has made 25
  subdirectories... Now, you want to clean your hard disk and only keep
  the ZIP file? Nothing more easy:

ZAB SOUNDS.ZIP


 NOTE: if you specify *.*, nothing will be done:

ZAB *.*



HISTORY:

 v1.2, February 1997

This version allows to delete about 5 times more files (generally about
5400 files). The program doesn't any longer exit from Win95, it can now
run on any DOS 5.0 or more.


 v1.1, January 1997

THE bug of the encryption runtime has been corrected, so ZAB should work
on any computer with DOS 5 or 6. The code isn't limited to the 386 any
longer and ZAB works on the 286. It should therefore work everywhere,
isn't it? The second correction has been done on the documentation of
the program. ZAB is able to preserve directories to! This point was not
clear in the first release of the program (that was only uploaded to
SimTel.Net). For example, if you want to delete everything but to IGNORE
the WINDOWS directory, just type: ZAB WINDOWS, and the work will be
done.


 v1.0, January 1997

First release (no, really !?!). I think it should work on any computer
starting with the 80386, but as Murphy says: "Variables won't, constants
aren't". I think this greatly resumes the problem... Fred, my main
beta-tester, has told me to change everything in the program's
philosophy. Maybe it will come in a future release, 'coz nothing's
impossible!



ZAB is distributed as CARDWARE. That means that if you find it usefull,
you can send me a post card/email card. Feel free to contact me for any
questions or comments about the program. Please distribute this
program!!!

  E-mail: vauclair@lnf.cnrs-mrs.fr  (btw, this is my father's address)
  WEB:    it.will.come.soon.i.hope  (I'm currently looking for a free host :-(

  Mail: Sebastien VAUCLAIR
        Rce Ste Victoire i
        29, Av. St Jerome
        13100 AIX-EN-PROVENCE
        FRANCE
