home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / z / zdel20.zip / MANUAL.TXT next >
Text File  |  1993-01-15  |  37KB  |  833 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.          ***********************************************************
  15.          *                                                         *
  16.          *                       zDEL 2.00                         *
  17.          *                                                         *
  18.          *                    January 15, 1993                     *
  19.          *                                                         *
  20.          *                                                         *
  21.          *                                                         *
  22.          *                                                         *
  23.          *                      User's Manual                      *
  24.          *                                                         *
  25.          *                                                         *
  26.          *                                                         *
  27.          *           Copyright (C) 1993  P & J's Software          *
  28.          *                                                         *
  29.          ***********************************************************
  30.  
  31.          zDEL 2.00                            TABLE OF CONTENTS    2
  32.          ===========================================================
  33.  
  34.          1        What's New in zDEL 2.00..........................3
  35.          2        Important Differences Between 1.x and 2.0........3
  36.          3        Taking zDEL for a Test Drive.....................4
  37.          4        Function of zDEL.................................4
  38.          5        zDEL License Agreement...........................4
  39.          6        zDEL Registration................................5
  40.          7        Disclaimer.......................................6
  41.          8        Command Line Syntax..............................6
  42.          9        The Drive and Path Parameters....................6
  43.          10       Using a Filespec.................................7
  44.          11       Use of Command Line Switches.....................7
  45.          11.1     -A   Attribute Switch............................7
  46.          11.1.1    h   The Hidden File Attribute...................8
  47.          11.1.2    s   The System File Attribute...................8
  48.          11.1.3    r   The Read Only File Attribute................8
  49.          11.2     -C   Confirmation Switch.........................8
  50.          11.2.1    d   Confirm Directory Delete....................9
  51.          11.2.2    f   Confirm File Delete.........................9
  52.          11.2.3    s   Confirm Subdirectories to search............9
  53.          11.3     -D   Directory Specification Switch..............9
  54.          11.4     -F   Filespec Switch............................10
  55.          11.5     -K   Keep Relative Root Directory Switch........10
  56.          11.6     -NOLOGO   Suppress zDEL Banner Switch...........10
  57.          11.7     -O   Override ZDELCMD Switch....................10
  58.          11.8     -Q   Suppress Delete Reporting Switch...........10
  59.          11.9     -R   Recurse Directories Switch.................11
  60.          11.9.1    k   Keep Directory Tree Structure..............11
  61.          11.9.2    p   Prune Directory Tree Structure.............11
  62.          11.10    -S   Search Process Switch......................11
  63.          11.10.1   a   Accumulate Bytes...........................12
  64.          11.10.2   l   Search All Logical Drives..................12
  65.          11.10.3   p   Search the PATH Environment Variable.......12
  66.          11.11    -V   Verbose Display Switch.....................13
  67.          11.12    -W   Suppress Warning Messages Switch...........13
  68.          11.13    -WHERE   "Where is..." Switch...................13
  69.          11.14    -WIPE   Wipe Data Switch........................14
  70.          11.15    -X   Exclude Filespec Switch....................14
  71.          12       Using the ZDELCMD Environment Variable..........15
  72.          13       Acknowledgments.................................15
  73.          14       How to Contact P & J's Software.................16
  74.          15       Plans for Future Updates........................16
  75.  
  76.          zDEL 2.00                    1 What's New in zDEL 2.00    3
  77.          ===========================================================
  78.  
  79.          1        What's New in zDEL 2.00
  80.          -----------------------------------------------------------
  81.  
  82.             zDEL 2.0 has been an exciting update.  New features added
  83.          are based on the feedback of 1.x users.  We hope you will
  84.          find the new features listed below just as exciting and useful
  85.          for you too:
  86.  
  87.             *  Bit testing may be done with all file attributes.
  88.             *  Multiple filespecs may be specified to delete files.
  89.             *  Multiple filespecs may be specified to EXCLUDE files.
  90.             *  Multiple directories may be specified to scan.
  91.             *  The PATH may be scanned.
  92.             *  All logical drives may be scanned.
  93.             *  A new verbose display mode.
  94.             *  Bytes freed may be accumulated and reported.
  95.             *  A "where is ..." mode is available.
  96.             *  Optionally "wipe" files (permanently destroys the data).
  97.             *  A "(Y)es, (N)o, Yes to (A)ll" prompt has been given to
  98.                   all Confirmation switches.
  99.  
  100.             zDEL 2.0 is Shareware.  Thank you for your support in
  101.          advance.
  102.  
  103.  
  104.          2        Important Differences Between 1.x and 2.0
  105.          -----------------------------------------------------------
  106.  
  107.             If you've never used zDEL 1.x, then you do not need to
  108.          read this section.
  109.  
  110.             Many differences exist between zDEL 1.x and 2.0.  However,
  111.          few require attention.  You should be aware of these changes:
  112.  
  113.             *  -Fc is no longer File confirmation.  -F is now used to
  114.                specify an additional filespec to delete.  -Cf is now
  115.                used for the Confirmation of file deletions.
  116.  
  117.             *  -Fh is no longer used to suppress delete reporting.
  118.                The -Q switch now serves as this function.
  119.  
  120.             *  -Q is no longer the same as -W.  -Q is now used for
  121.                suppressing delete reporting.  -W is used to suppress
  122.                warning messages (as in 1.x).
  123.             
  124.             *  -Rc is now specified as -Cd.  (Confirm directory delete).
  125.  
  126.             *  -S is no longer used to confirm which subdirectories to
  127.                search.  It is now -Cs.
  128.  
  129.             The above changes and others were made to provide a more
  130.          organized and logical switch interface and for various other
  131.          reasons.
  132.  
  133.          zDEL 2.00               3 Taking zDEL for a Test Drive    4
  134.          ===========================================================
  135.  
  136.          3        Taking zDEL for a Test Drive
  137.          -----------------------------------------------------------
  138.  
  139.             zDEL deletes files and subdirectories.  That's its
  140.          purpose.  Deleting information has the potential to be very
  141.          dangerous if misused.  To test zDEL, TEST IT ON A FLOPPY
  142.          which has experimental data on it. Use a floppy disk that
  143.          has no valuable information on it, or copy another disk and
  144.          use it as a testing diskette.  Then type a: (or b:, or whatever
  145.          your floppy drive designation is).  Once changed over to
  146.          the floppy drive, no data on any other disk can be deleted
  147.          as long as you don't specify otherwise (i.e.- zdel c:).
  148.  
  149.             Please read the rest of this file, because it contains
  150.          information on how to use and register zDEL.  You can type
  151.          "zDEL /?" to request zDEL's full help.
  152.  
  153.  
  154.          4        Function of zDEL
  155.          -----------------------------------------------------------
  156.  
  157.             The purpose of zDEL is to provide MS-DOS users with a
  158.          more powerful and efficient tool for deleting files and
  159.          subdirectories.
  160.  
  161.             zDEL does everything the ERASE, DEL and DELNODE commands
  162.          do and more.  zDEL offers the ability to search for hidden,
  163.          system, and read only files.  The ability to search
  164.          through directories is possible with zDEL.  You can search
  165.          directories with a specific filespec too.  You can even
  166.          pick which subdirectories you want to search into.
  167.  
  168.             And just for added safety, zDEL has the ability to
  169.          prompt you for permission to delete a file and/or
  170.          subdirectory.  This gives you the power to choose which
  171.          files you want to delete and skip over the ones you want to
  172.          keep.  And for all of you nervous people out there, zDEL
  173.          will always let you know what it is going to do BEFORE it does
  174.          anything (unless you override it with a switch).
  175.  
  176.  
  177.          5        zDEL License Agreement
  178.          -----------------------------------------------------------
  179.  
  180.             zDEL is Shareware and is supported by you.  As a Shareware
  181.          program, you may review zDEL for a period of 14 days.  If
  182.          during that time you decide zDEL 2.0 is a program you would
  183.          like to have and continue to use, please follow the
  184.          registration instructions outlined in section 6.
  185.  
  186.             If you decide you do not need zDEL for any reason, within
  187.          14 days after you receive my registration letter, simply
  188.          delete all zDEL files and any archive file you may have
  189.          received zDEL in (i.e.- ZDEL200.ZIP) and P and J's Software
  190.          will gladly refund 100% OF ALL REGISTRATION MONEY (sorry,
  191.          no postal refunds).  We would appreciate feedback when doing
  192.          so, although not required.
  193.  
  194.          zDEL 2.00                          6 zDEL Registration    5
  195.          ===========================================================
  196.  
  197.          6        zDEL Registration
  198.          -----------------------------------------------------------
  199.  
  200.             zDEL 2.0 is Shareware and is not free.  However, the fee
  201.          is low and there are various types of registration:
  202.  
  203.                1.  $5  - Minimum registration fee.
  204.                2.  $15 - Register zDEL 2.0 and receive a free update
  205.                          when the next one becomes available.
  206.                3.  Network - fee from 1 or 2 plus .25 cents per machine
  207.                              that zDEL will be used on.  (i.e.- $5.50
  208.                              for a 2 machine network with option 1 or
  209.                              $15.50 with option 2)
  210.                        
  211.             To register zDEL, please fill out the form REGISTER.TXT
  212.          that is supplied with zDEL.  It contains a straightforward
  213.          method to calculate your payment.
  214.  
  215.             zDEL may be freely distributed provided the following
  216.          rules are adhered to:
  217.  
  218.             *  The program ZDEL.EXE and its components MANUAL.TXT,
  219.                README.TXT and REGISTER.TXT are not modified in any way
  220.                whatsoever.
  221.  
  222.             *  The files MANUAL.TXT, README.TXT and REGISTER.TXT are
  223.                provided with each copy of the program ZDEL.EXE.
  224.  
  225.             If you send your address and the appropriate registration
  226.          fee, I will mail you a letter stating your registration status.
  227.  
  228.             REGARDLESS of which option you choose, THANK YOU for your
  229.          support of zDEL and the Shareware industry.
  230.  
  231.          zDEL 2.00                                 7 Disclaimer    6
  232.          ===========================================================
  233.  
  234.          7        Disclaimer
  235.          -----------------------------------------------------------
  236.  
  237.             P & J's Software, disclaim all warranties as to this
  238.          software, whether express or implied, including without
  239.          limitation any implied warranties of merchantability, fitness
  240.          for a particular purpose, functionality or data integrity
  241.          or protection.
  242.  
  243.             Furthermore, accuracy of the information within this
  244.          document and fitness of the zDEL program for any purpose may
  245.          change without notice, and should not be considered as a
  246.          commitment of any kind.
  247.  
  248.             To test zDEL, read section 3.  Whew!  <g>
  249.  
  250.  
  251.          8        Command Line Syntax
  252.          -----------------------------------------------------------
  253.  
  254.             The command line syntax appears when you type "zDEL -?"
  255.          or "zDEL" at the MS-DOS prompt.  zDEL's syntax is shown below:
  256.  
  257.          zDEL [drive:][path]filespec [-A{[+,-]<a|h|r|s>}] [-C<d|f|s>]
  258.             [-Ddirectory] [-Ffilespec] [-K] [-NOLOGO] [-O] [-Q]
  259.             [-R[<k,p>]] [-S<a|<l,p>>] [-V] [-W] [-WHERE]
  260.             [-WIPE[:nnn]] [-Xfilespec]
  261.  
  262.             Reading the syntax requires that you know what the
  263.          symbols mean.  The symbols used in the command line syntax
  264.          and their meanings are listed below:
  265.  
  266.             {}    The parameter(s) between can be repeated in the
  267.                      given sequence.
  268.             []    The parameter(s) between square brackets are
  269.                      optional.
  270.             <>    The parameter(s) between the LT and GT symbols are
  271.                      members of a list.
  272.          space    A space is required as a delimiter.
  273.             ,     A comma means pick ONE in the list.
  274.             |     A pipe symbol means pick AT LEAST one.  You
  275.                      may select others.
  276.  
  277.             The command line is not case sensitive.  It is illustrated
  278.          as such for documentation purposes only.
  279.  
  280.  
  281.          9        The Drive and Path Parameters
  282.          -----------------------------------------------------------
  283.  
  284.             The [drive:] parameter is optional.  You would use this
  285.          parameter if you wanted to delete files from a logical
  286.          drive that was different from your current working
  287.          logical drive.  You must use the drive letter and the ':'
  288.          for this parameter.
  289.  
  290.          zDEL 2.00              9 The Drive and Path Parameters    7
  291.          ===========================================================
  292.  
  293.             The [path] parameter is optional.  This represents the
  294.          pathname of where to start looking for the file(s) you
  295.          specified in the filespec parameter.  If you want to
  296.          delete from a root directory, and you are not currently in
  297.          the root directory, you must provide the '\' symbol.  If no
  298.          path is supplied, the current working directory is used.
  299.  
  300.  
  301.          10       Using a Filespec
  302.          -----------------------------------------------------------
  303.  
  304.             A filespec is used as a pattern to match file names
  305.          against.  You could just type an existing filename, and
  306.          zDEL will only find that file.  With the use of wildcards
  307.          '*' and '?', you can instruct zDEL to use the pattern
  308.          matching rules listed below:
  309.  
  310.             '*'   -  Match the remainder of characters.
  311.       
  312.             '?'   -  Match with a single character.
  313.  
  314.             Please refer to your MS-DOS User's Guide for more
  315.          information on filenames, filespecs and wildcards.
  316.  
  317.  
  318.          11       Use of Command Line Switches
  319.          -----------------------------------------------------------
  320.  
  321.             There are 15 switches that you may use with zDEL.  They are
  322.          "-A", "-C", "-D", "-F", "-K", "-NOLOGO", "-O", "-Q", "-R",
  323.          "-S", "-V", "-W", "-WHERE", "-WIPE" and "-X".  They are all
  324.          optional.
  325.  
  326.  
  327.          11.1     -A   Attribute Switch
  328.          -----------------------------------------------------------
  329.  
  330.             The -A switch follows the syntax of "[-A{[+,-]<a|h|r|s>}]".
  331.  
  332.             The attribute switch allows you to search for archive,
  333.          hidden, system, or read only attributes in a file.  If you
  334.          only specify "-A" then zDEL assumes "-Aahrs" which will
  335.          delete any file, regardless of attribute setting.
  336.  
  337.             By MS-DOS definition, if you specify h, s or r with -A,
  338.          then MS-DOS will also report files which do not have the
  339.          hidden, system and read only bits set (called normal files).
  340.          You may use the attribute prefix '+' or '-' to designate
  341.          that the following attribute must be on or off in the file.
  342.  
  343.             For example, "-A+h" will make sure that all files reported
  344.          have the hidden bit set.  Conversely, "-A-h" will make sure
  345.          that all files reported do not have the hidden bit set.
  346.  
  347.          zDEL 2.0          11.1.1 h   The Hidden File Attribute    8
  348.          ===========================================================
  349.  
  350.          11.1.1    h   The Hidden File Attribute
  351.          -----------------------------------------------------------
  352.  
  353.             If you want to search for Normal files and files that may
  354.          contain the hidden file attribute, you must tell zDEL by
  355.          appending 'h' to the "-A" switch.
  356.       
  357.             Example:  "zDEL *.* -Ah"
  358.  
  359.  
  360.          11.1.2    s   The System File Attribute
  361.          -----------------------------------------------------------
  362.  
  363.             If you want to search for Normal files and files that may
  364.          contain the system file attribute, you must tell zDEL by
  365.          appending 's' to the "-A" switch.
  366.       
  367.             Example:  "zDEL *.* -As"
  368.  
  369.  
  370.          11.1.3    r   The Read Only File Attribute
  371.          -----------------------------------------------------------
  372.  
  373.             If you want to search for Normal files and files that may
  374.          contain the read-only file attribute, you must tell zDEL by
  375.          appending 'r' to the "-A" switch.
  376.       
  377.             Example:  "zDEL *.* -Ar"
  378.    
  379.  
  380.          11.2     -C   Confirmation Switch
  381.          -----------------------------------------------------------
  382.  
  383.             The -C switch follows the syntax of "[-C<d|f|s>]".
  384.  
  385.             The Confirmation switch allows you to respond to a
  386.          "(Y)es, (N)o, Yes to (A)ll" question for file deletion,
  387.          subdirectory deletion and for which directories to search.
  388.  
  389.          zDEL 2.00          11.2.1 d   Confirm Directory Delete    9
  390.          ===========================================================
  391.  
  392.          11.2.1    d   Confirm Directory Delete
  393.          -----------------------------------------------------------
  394.  
  395.             Supplying zDEL with "-Cd" will make zDEL prompt you with
  396.          the "(Y)es, (N)o, Yes to (A)ll" question for every directory
  397.          found in the current search path.
  398.  
  399.             Pressing Y will delete the directory.  Press N and zDEL will
  400.          not delete the directory.  Press A and all subsequent directories
  401.          found will automatically be deleted and the prompt will be
  402.          suppressed for directory confirmation ONLY.
  403.  
  404.             Example "zDEL *.* -Cd"
  405.  
  406.  
  407.          11.2.2    f   Confirm File Delete
  408.          -----------------------------------------------------------
  409.  
  410.             Supplying zDEL with "-Cf" will make zDEL prompt you with
  411.          the "(Y)es, (N)o, Yes to (A)ll" question for every file
  412.          found in the current search path.
  413.  
  414.             Pressing Y will delete the file.  Press N and zDEL will not
  415.          delete the file.  Press A and all subsequent files found will
  416.          automatically be deleted and the prompt will be suppressed for
  417.          file confirmation ONLY.
  418.  
  419.             Example "zDEL *.* -Cf"
  420.  
  421.  
  422.          11.2.3    s   Confirm Subdirectories to search
  423.          -----------------------------------------------------------
  424.  
  425.             Supplying zDEL with "-Cs" will make zDEL prompt you with
  426.          the "(Y)es, (N)o, Yes to (A)ll" question for every subdirectory
  427.          found in the current search path.
  428.  
  429.             Pressing Y will search the subdirectory.  Press N and zDEL
  430.          will skip that directory and look for the next one on the same
  431.          depth level.  Press A and all subsequent directories found will
  432.          automatically be searched and the prompt will be suppressed for
  433.          subdirectory search confirmation ONLY.
  434.       
  435.             Example "zDEL *.* -Cs"
  436.  
  437.       
  438.          11.3     -D   Directory Specification Switch
  439.          -----------------------------------------------------------
  440.       
  441.             The -D switch follows the syntax of "[-Ddirectory]".
  442.  
  443.             This switch allows you to specify an additional
  444.          directory to search for the filespec(s) you have specified
  445.          to delete.  No filespec information is allowed with -D.  For
  446.          example, "-D\utils\archive\*.zip" is not allowed, but
  447.          "-D\utils\archive" is.  You may specify up to 25 on the
  448.          command line.
  449.  
  450.             Example:  "zDEL *.txt -D\windows\docs -D\scratch\docs"
  451.  
  452.          zDEL 2.00                    11.4 -F   Filespec Switch   10
  453.          ===========================================================
  454.  
  455.          11.4     -F   Filespec Switch
  456.          -----------------------------------------------------------
  457.  
  458.             The -F switch follows the syntax of "[-Ffilespec]".
  459.  
  460.             This switch allows you to specify an additional filespec
  461.          to delete.  No directory information is allowed with -F.  For
  462.          example, "-F\utils\archive\*.zip" is not allowed, but
  463.          "-F*.zip" is.  You may specify up to 25 on the command line.
  464.  
  465.             Example:  "zDEL *.bak -F*.tmp -F*.old -F*.00?"
  466.  
  467.  
  468.          11.5     -K   Keep Relative Root Directory Switch
  469.          -----------------------------------------------------------
  470.  
  471.             The -K switch follows the syntax of "[-K]".
  472.  
  473.             This switch is used with the -Rp switch.  Doing so
  474.          prevents zDEL from deleting the beginning directory.  For
  475.          example, "zDEL junk1 -Djunk2 -Rp" will prune the two given
  476.          directory trees, but it will keep the "junk1" and "junk2"
  477.          directory entries.
  478.  
  479.  
  480.          11.6     -NOLOGO   Suppress zDEL Banner Switch
  481.          -----------------------------------------------------------
  482.  
  483.             The -NOLOGO switch follows the syntax of "[-NOLOGO]".
  484.  
  485.             This switch allows you to suppress the zDEL banner information.
  486.          You might find this useful if you use zDEL in a batch file.
  487.  
  488.             Example:  "zDEL d:\junk -NOLOGO"
  489.  
  490.  
  491.          11.7     -O   Override ZDELCMD Switch
  492.          -----------------------------------------------------------
  493.  
  494.             The -O switch follows the syntax of "[-O]".
  495.  
  496.             This switch will override the switches supplied in the
  497.          ZDELCMD environment variable.
  498.  
  499.             Example:  "zDEL *.c -O"
  500.  
  501.  
  502.          11.8     -Q   Suppress Delete Reporting Switch
  503.          -----------------------------------------------------------
  504.       
  505.             The -Q switch follows the syntax of "[-Q]".
  506.  
  507.             This switch causes zDEL not to display any of the
  508.          filenames or subdirectories that are deleted.  Because
  509.          displaying text takes considerable time in relation to other
  510.          tasks done by a computer, our tests have shown that using this
  511.          switch will increase the speed of zDEL by over 50% in most
  512.          cases.  zDEL is by far the fastest when this switch is used.
  513.  
  514.             Example:  "zDEL T:\SCRATCH -Q"
  515.  
  516.          zDEL 2.00         11.9 -R   Recurse Directories Switch   11
  517.          ===========================================================
  518.  
  519.          11.9     -R   Recurse Directories Switch
  520.          -----------------------------------------------------------
  521.       
  522.             The -R switch follows the syntax of "[-R[<k,p>]]".
  523.  
  524.             This switch causes zDEL to recursively search all directories
  525.          found in the current search path.  All directories specified by
  526.          -D or -Sp are affected by this switch as well.
  527.  
  528.          11.9.1    k   Keep Directory Tree Structure
  529.          -----------------------------------------------------------
  530.  
  531.             If you specify "-Rk" or "-R" on the command line, zDEL
  532.          will search all directories in the search path, but it will
  533.          not attempt to delete them.
  534.  
  535.             Example "zDEL \*.TMP -R"
  536.  
  537.  
  538.          11.9.2    p   Prune Directory Tree Structure
  539.          -----------------------------------------------------------
  540.  
  541.             If you specify "-Rp" on the command line, zDEL will search
  542.          all directories in the search path and will try to delete
  543.          each directory it searches.
  544.  
  545.             NOTE:  If you specify only a directory (with no filespec)
  546.          in the SECOND command line parameter, then zDEL AUTOMATICALLY
  547.          turns on the "-Rp" deletion process and assumes a filespec of
  548.          "*.*".  This does not apply to directory names specified by
  549.          the "-D" switch.
  550.  
  551.             Parameter   1     2     3
  552.             ---------------------------------
  553.             example 1:  zDEL  mydir             -> auto "-Rp"
  554.             example 2:  zDEL  *.*   -Dmydir     -> NO auto "-Rp"
  555.  
  556.             This "auto -Rp" is very convenient and powerful.  Remember,
  557.          zDEL will tell you everything it's going to do first as long
  558.          as you don't specify "-W" in the command line.
  559.  
  560.             Example "zDEL mydir"
  561.  
  562.       
  563.          11.10    -S   Search Process Switch
  564.          -----------------------------------------------------------
  565.  
  566.             The -S switch follows the syntax of "[-S<a|<l,p>>]".
  567.  
  568.             This switch tells zDEL to perform additional operations
  569.          while searching.  
  570.  
  571.          zDEL 2.0                  11.10.1 a   Accumulate Bytes   12
  572.          ===========================================================
  573.  
  574.          11.10.1   a   Accumulate Bytes
  575.          -----------------------------------------------------------
  576.  
  577.             If you specify "-Sa" on the command line, zDEL will
  578.          accumulate the number of bytes freed for every file it
  579.          deletes on a per logical drive basis.  The report will be
  580.          displayed regardless if the -Q switch is used.
  581.  
  582.             Example:  "zDEL c:\scratch -Sa"
  583.  
  584.       
  585.          11.10.2   l   Search All Logical Drives
  586.          -----------------------------------------------------------
  587.  
  588.             If you specify "-Sl" on the command line, zDEL will
  589.          apply all the filespec and directory information you have
  590.          supplied to every logical drive it finds.  The scan starts
  591.          from the C: drive.  If you have any network connections
  592.          defined, zDEL will search those as well.
  593.  
  594.             You cannot use the -Sl switch with the -Sp switch.
  595.  
  596.             A usage tip that may be of help is that when you use this
  597.          switch, "-Sl", be sure not to specify any drive letters in
  598.          any directories you may have supplied zDEL with.  If you do
  599.          there's no harm done, only time wasted because when zDEL
  600.          changes to a logical drive with the "-Sl" switch, it applies
  601.          ALL filespec and directory information given with "-F" and
  602.          "-D", respectively.  Therefore, if you specify "-Dc:\mydir"
  603.          as a directory to search, then for every logical drive
  604.          zDEL changes to, zDEL is forced to go back to C:\MYDIR to look
  605.          for filespecs to delete.  The only reason you would WANT to
  606.          do this is if you know there is a "\mydir" directory on another
  607.          logical drive you don't want to mess with, but you still need
  608.          to use the "-Sl" switch.
  609.  
  610.             Example:  "zDEL *.txt -Sl"
  611.  
  612.       
  613.          11.10.3   p   Search the PATH Environment Variable
  614.          -----------------------------------------------------------
  615.  
  616.             If you specify "-Sp" on the command line, zDEL will
  617.          add all the directories specified in the PATH environment
  618.          variable to the list of directories to search.  This list
  619.          is exactly the same as the list used by the -D switch.
  620.  
  621.             You cannot use the -Sp switch with the -Sl switch.
  622.  
  623.             Example:  "zDEL *.tmp -Sp"
  624.  
  625.          zDEL 2.00            11.11 -V   Verbose Display Switch   13
  626.          ===========================================================
  627.       
  628.          11.11    -V   Verbose Display Switch
  629.          -----------------------------------------------------------
  630.  
  631.             The -V switch follows the syntax of "[-V]".
  632.  
  633.             This switch tells zDEL to display a detailed (verbose)
  634.          report of each file and directory that it deletes.  An example
  635.          output is shown below:
  636.  
  637.             [...A]       1626   D:\TEMP\JUNK\FILE1.TXT
  638.             [...A]       4050   D:\TEMP\JUNK\FILE2.TXT
  639.             [...A]      23746   D:\TEMP\JUNK\FILE3.TXT
  640.             [....]          0 S D:\TEMP\JUNK
  641.  
  642.  
  643.             Without using the -V switch, only the filename and its path
  644.          are displayed:
  645.       
  646.             D:\TEMP\JUNK\FILE1.TXT
  647.             D:\TEMP\JUNK\FILE2.TXT
  648.             D:\TEMP\JUNK\FILE3.TXT
  649.             D:\TEMP\JUNK
  650.  
  651.             Example:  "zDEL *.txt -V"
  652.  
  653.  
  654.          11.12    -W   Suppress Warning Messages Switch
  655.          -----------------------------------------------------------
  656.  
  657.             The -W switch follows the syntax of "[-W]".
  658.  
  659.             This switch tells zDEL not to display the "If you continue,
  660.          zDEL will..." warning messages.
  661.          
  662.             If you do not want to confirm this message every time you
  663.          use zDEL, or you are using zDEL in a batch file, then use the
  664.          -W switch on the command line.  If you prefer to ALWAYS have
  665.          this switch enabled, you should put the command
  666.          "SET ZDELCMD=-W" in your AUTOEXEC.BAT file, or type it
  667.          directly from the MS-DOS command prompt.
  668.  
  669.             Example:  "zDEL *.txt -W"
  670.  
  671.  
  672.          11.13    -WHERE   "Where is..." Switch
  673.          -----------------------------------------------------------
  674.       
  675.             The -WHERE switch follows the syntax of "[-WHERE]".
  676.  
  677.             This switch tells zDEL not to delete anything and only
  678.          display the files and directories found during the search.  This
  679.          is handy if you don't have a file finding program, or if you
  680.          use it in conjunction with -Sa you'll be able to tell how much
  681.          space will be freed before you delete anything.
  682.  
  683.          zDEL 2.00          11.13 -WHERE   "Where is..." Switch   14
  684.          ===========================================================
  685.  
  686.             Using -WHERE with -Sa can be very helpful in a situation
  687.          where you are low on disk space and you need more space to install
  688.          a program that needs "x" more bytes of disk space to fit.  Just
  689.          keep adding files with -F until you satisfy the requirement, then
  690.          remove the -WHERE switch and zDEL will delete everything you
  691.          specified.
  692.  
  693.             Example:  "zDEL \*.tmp -F*.bak -WHERE"
  694.  
  695.  
  696.          11.14    -WIPE   Wipe Data Switch
  697.          -----------------------------------------------------------
  698.  
  699.             The -WIPE switch follows the syntax of "[-WIPE[:nnn]]".
  700.  
  701.             If you did not know already, when a file is deleted in
  702.          MS-DOS, the actual data is not destroyed; only the File
  703.          Allocation Table (FAT) is updated to reflect the space is
  704.          now available.  That is how UNDELETE utilities work.  They
  705.          merely scan the FAT for special information and ask you for
  706.          the first character of the filename.
  707.  
  708.             If you are in an environment where the above scheme is
  709.          not acceptable and you actually need the data destroyed
  710.          (making UNDELETE utilities useless), then you need to use
  711.          the -WIPE switch.
  712.  
  713.             Specify -WIPE on the zDEL command line to perform this action.
  714.          You can specify any ASCII character from 0 to 255 to replace the
  715.          data with.  If you do not supply a character, 0 is used by
  716.          default.
  717.  
  718.             Please note that the ONLY way get data back after using this
  719.          method is if you have a backup.  Also, because zDEL has to
  720.          re-write all the data before it deletes the file, the time taken
  721.          to do so is longer.  Judge for yourself:  on a hard drive with a
  722.          15ms access time, it takes about 1 second per megabyte.  zDEL
  723.          will report a real-time percentage complete status when it is
  724.          in "Wipe" mode, unless you have specified the "-Q" switch.
  725.  
  726.             Example:  "zDEL secret.exe -WIPE"
  727.  
  728.  
  729.          11.15    -X   Exclude Filespec Switch
  730.          -----------------------------------------------------------
  731.       
  732.             The -X switch follows the syntax of "[-X]".
  733.  
  734.             Quite possibly the most powerful switch zDEL supports is this
  735.          one.  You may specify up to 25 exclude filespecs on the command
  736.          line.
  737.  
  738.             For every file found, zDEL checks all the entries in the
  739.          -X filespec table.  If the current file matches a filespec in
  740.          this table then the file is NOT deleted.  Hence, excluding it
  741.          from being deleted.
  742.  
  743.             Example:  "zDEL *.* -X*.c -X*.h -X*.txt"
  744.  
  745.          zDEL 2.00    12 Using the ZDELCMD Environment Variable   15
  746.          ===========================================================
  747.  
  748.          12       Using the ZDELCMD Environment Variable
  749.          -----------------------------------------------------------
  750.  
  751.             The ZDELCMD environment variable may be used to supply
  752.          additional command line information to zDEL.  Every time
  753.          you use zDEL, it looks for and reads the ZDELCMD environment
  754.          variable (as long as -O is not specified).  Any switches
  755.          recognized in the ZDELCMD environment variable are set just
  756.          as if they were specified on the command line directly.
  757.  
  758.             One of the best things about using ZDELCMD is that you can
  759.          use it for setting switches that you always want set.  Therefore,
  760.          you type them once into ZDELCMD and never have to again.
  761.  
  762.             For example, if you find yourself always using the -Sa and -V
  763.          switches, just type "SET ZDELCMD=-Sa -V" at the prompt, or in
  764.          your AUTOEXEC.BAT file, and now you don't have to type them
  765.          ever again.
  766.  
  767.             If you never want to delete any executable files with zDEL,
  768.          type "SET ZDELCMD=-X*.exe -X*.com -X*.bat" at the MS-DOS prompt.
  769.  
  770.             Remember, to override all the switches in ZDELCMD, use the
  771.          -O switch.
  772.  
  773.             To remove the ZDELCMD variable from the environment table,
  774.          type "SET ZDELCMD=" as you would to delete any environment
  775.          variable.
  776.  
  777.             For more information on environment variables, please refer
  778.          to your MS-DOS User's Guide.
  779.  
  780.  
  781.          13       Acknowledgments
  782.          -----------------------------------------------------------
  783.  
  784.             Thanks to all the zDEL 1.x users.
  785.  
  786.             zDEL is written with Microsoft C/C++ 7.00.
  787.  
  788.             MS-DOS, and Windows are registered trademarks of
  789.          Microsoft Corporation.
  790.  
  791.          zDEL 2.00           14 How to Contact P & J's Software   16
  792.          ===========================================================
  793.  
  794.          14       How to Contact P & J's Software
  795.          -----------------------------------------------------------
  796.  
  797.             If you wish to send comments, suggestions or questions
  798.          about zDEL, please write to any of the addresses below:
  799.  
  800.             U.S. Mail                        CompuServe Mail
  801.             ---------                        ---------------
  802.             P & J's Software                 71303,2375
  803.             14150 NE 20th
  804.             Box 277
  805.             Bellevue, WA  98007
  806.  
  807.             We encourage you to use CompuServe Mail (only if you
  808.          have an account of course) as it is faster, more reliable,
  809.          uses less resources and ultimately less expensive for you.
  810.  
  811.             Please understand we can only guarantee a response to
  812.          registered zDEL 2.0 users although we'll try to respond to
  813.          all mail.  This helps to keep support costs low.
  814.  
  815.  
  816.          15       Plans for Future Updates
  817.          -----------------------------------------------------------
  818.          
  819.             Expect a version to be released that is written for the
  820.          Microsoft Windows NT operating system.  zDEL will work with
  821.          NT now, but zDEL is not an NT 32-bit application and therefore
  822.          NT must implement some MS-DOS compatibility support functions.
  823.          An NT version of zDEL would be much more robust.  We imagine
  824.          the NTFS will be supported by zDEL for NT.  The release date
  825.          for an NT version is unknown at this time.  Probably a few
  826.          months after the official release of NT would be our best
  827.          estimate.
  828.  
  829.             There are no plans for an OS/2 2.0 version at this time.
  830.          However, it still remains a posibility.  Perhaps if enough
  831.          OS/2 2.0 users respond we'll develop it.
  832.  
  833.