home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / zndel20.zip / ZNDEL.DOC < prev    next >
Text File  |  1994-08-18  |  3KB  |  104 lines

  1.  
  2.  
  3.          ZNDEL version 2.0   -  Public Domain / Freeware
  4.  
  5.      Exclusive-Delete utility ( originally 'Zip-Not-DEL' ? )
  6.  
  7.      This program deletes all the files in the current directory
  8.      except archives, files specified on the command line, and
  9.      files marked as system, hidden, or read-only.
  10.  
  11.      Very convenient for cleaning up after de-archiving, e.g in
  12.      working- and download directories.
  13.  
  14.  
  15.  Usage:
  16.  
  17.      ZNDEL [/Y] [filespec (filespec) ]  delete all but filespecs & archives
  18.              └──>   assume YES on all prompting (useful in batch files)
  19.  
  20.      ZNDEL /S                           show current workdir assignments
  21.      ZNDEL /W  [workdir (workdir) ]     assign working directories
  22.  
  23.      ZNDEL /?                           show the help text
  24.  
  25.  
  26.  Examples:
  27.  
  28.      delete all but the assembler sources       ZNDEL *.asm
  29.      to keep prog1.pas, prog2.txt etc.          ZNDEL prog?
  30.      combined effect of above examples          ZNDEL prog? *.asm
  31.      the same, without prompting                ZNDEL /Y prog? *.asm
  32.  
  33.  
  34.  Configuration:
  35.  
  36.      You can configure ZNDEL to work automatically without prompting
  37.      whenever it is used in specific directories, for example:
  38.  
  39.      ZNDEL /W  download  stuff  temp
  40.  
  41.      This causes ZNDEL to recognize these directories or any of
  42.      their subdirectories as special working directories, in
  43.      which ZNDEL will never ask for confirmation.
  44.  
  45.      The commands  C:\DOWNLOAD\GAME> ZNDEL
  46.  
  47.               and  C:\COMMPROG\STUFF\MISC> ZNDEL
  48.  
  49.      will both work without confirmation because GAME is a
  50.      subdirectory of DOWNLOAD, and MISC is a subdir of STUFF.
  51.  
  52.  
  53.  Tech notes & details:
  54.  
  55.    The included source file ZNDEL.PAS was tested and
  56.    compiled using Borland Pascal 7.0.
  57.  
  58.    For configuration, the .EXE file itself is modified,
  59.    which will not work when it is compressed by an
  60.    executable compressor like LZEXE or PKLITE.
  61.    Configuration will work OK when ZNDEL.EXE has
  62.    been renamed.
  63.  
  64.    Because wildcards in ZNDEL are used to specify files
  65.    to save rather than files to delete, the DIR wildcard
  66.    convention, which is much more flexible than the
  67.    DEL wildcard (= internal MS-DOS) convention, is
  68.    simulated with all its details and quirks.
  69.    For example, in DIR style, "." and "*" both mean "*.*",
  70.    and "progname" means "progname.*".
  71.  
  72.    All output can be surpressed or redirected, e.g. by
  73.    redirecting to the NUL device, as in  ZNDEL /Y  > NUL
  74.  
  75.    Pascal programmers may find some of the code useful for
  76.    their own programs, especially the redirection trick,
  77.    the "binary file search" routine (which works on files
  78.    of unlimited size) and the wildcard evaluation.
  79.    Use the code any way you like.
  80.  
  81.  
  82.  Legal stuff:
  83.  
  84.    There is no warranty of this software's suitability for
  85.    any purpose, nor any acceptance of liability, express or
  86.    implied. By using this free software, you agree to this.
  87.  
  88.  
  89.  History:
  90.  
  91.    Original:  Written Sept 21, 1991  by  G.Palmer
  92.  
  93.    Version 2.0  August 17, 1994  by  E. de Neve   CompuServe ID: 100121,1070
  94.  
  95.    New in version 2.0 :
  96.  
  97.      - recognizes 12 of the most common archive format extensions
  98.      - full DIR-style wildcard support
  99.      - confirmation prompt before deleting
  100.      - no confirmation needed in assigned working directories
  101.      - realistic limits & safety checks for maximum number of files
  102.      - switch to override prompting, useful in batch files
  103.  
  104.