ERASE
-----

Format:        ERASE filespec [/H]

Purpose:       Deletes files from disk.

Use:           The  filespec specifies which files are to  be 
          deleted,  and /H allows hidden files to be included 
          in the operation.


               If any of the files specified have been marked 
          as read only,  then these files will be ignored and 
          the  delete operation will continue.  An error will 
          be returned if no files were deleted.

               If  the  filename is *.* (or defaults  to  *.* 
          because it is not given), then the prompt:

                    Erase all files (Y/N) ?

          is printed, and a reply is waited for. If the reply 
          is  anything other than 'Y' or 'y',  then the  file 
          deletion  does  not take place.  This is  a  safety 
          feature designed to prevent accidental loss of  all 
          files in a directory.

Examples:

     ERASE TEST.BAK

               The file TEST.BAK is deleted.


     DEL *.COM/H

               All  files,  hidden  and not  hidden,  in  the 
          current  directory of the current drive and with an 
          extension of COM are deleted.


     DEL B:\BOOT\AUTOEXEC.BAT

               The   file  AUTOEXEC.BAT  in   the   specified 
          directory is deleted.


     DEL B:\BOOT
     Erase all files (Y/N) ?

               All files in the directory BOOT are deleted if 
          the response to the prompt is "y".
