home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / zndel21.zip / ZNDEL.DOC < prev    next >
Text File  |  1994-11-01  |  4KB  |  117 lines

  1.  
  2.  
  3.          ZNDEL version 2.1   -  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
  37.      prompting for quick cleanups in specific directories.
  38.      Make sure to specify only simple directory names, do not
  39.      include drive ID's or subdirectories, for example:
  40.  
  41.      ZNDEL /W  download  stuff  temp
  42.  
  43.      This makes ZNDEL recognize these directories or any of
  44.      their subdirectories as special working directories, in
  45.      which ZNDEL will never ask for confirmation.
  46.  
  47.      The commands  C:\DOWNLOAD\GAME> ZNDEL
  48.  
  49.               and  C:\COMMPROG\STUFF\MISC> ZNDEL
  50.  
  51.      will both work without confirmation because GAME is a
  52.      subdirectory of DOWNLOAD, and MISC is a subdir of STUFF.
  53.  
  54.  
  55.  Tech notes & details:
  56.  
  57.    The included source file ZNDEL.PAS was tested and
  58.    compiled using Borland Pascal 7.0.
  59.  
  60.    For configuration, the .EXE file itself is modified,
  61.    which will not work when it is compressed by an
  62.    executable compressor like LZEXE or PKLITE.
  63.    Configuration will work OK when ZNDEL.EXE has
  64.    been renamed.
  65.  
  66.    Because wildcards in ZNDEL are used to specify files
  67.    to save rather than files to delete, the DIR wildcard
  68.    convention, which is much more flexible than the
  69.    DEL wildcard (= internal MS-DOS) convention, is
  70.    simulated with all its details and quirks.
  71.    For example, in DIR style, "." and "*" both mean "*.*",
  72.    and "progname" means "progname.*".
  73.  
  74.    All output can be suppressed or redirected, e.g. by
  75.    redirecting to the NUL device, as in  ZNDEL /Y  > NUL
  76.  
  77.    Pascal programmers may find some of the code useful for
  78.    their own programs, especially the redirection routines,
  79.    the self-modification trick including a "binary file search"
  80.    routine (which works on files of unlimited size) and the
  81.    wildcard evaluation. Use the code any way you like.
  82.  
  83.  
  84.  Legal stuff:
  85.  
  86.    There is no warranty of this software's suitability for
  87.    any purpose, nor any acceptance of liability, express or
  88.    implied. By using this free software, you agree to this.
  89.  
  90.  
  91.  Version history:
  92.  
  93.    Version 2.1  November 1, 1994
  94.  
  95.    New in version 2.1
  96.      - fixed bug in redirection detection
  97.      - confirmation prompt will now bypass redirection
  98.  
  99.  
  100.    Version 2.0  August 17, 1994
  101.  
  102.    New in version 2.0 :
  103.      - recognizes 12 of the most common archive format extensions
  104.      - full DIR-style wildcard support
  105.      - confirmation asked before deleting
  106.      - no confirmation needed in assigned working directories
  107.      - realistic limits & safety checks for maximum number of files
  108.      - switch to override prompting, useful in batch files
  109.  
  110.  
  111.    Version 1.0  (Original)  Written  Sept. 21, 1991  by  G. Palmer
  112.  
  113.  
  114.    Original:  Written Sept 21, 1991  by  G.Palmer
  115.  
  116.  
  117.