home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / files / fileman / mdel / mdel.doc < prev    next >
Encoding:
Text File  |  1988-09-03  |  2.9 KB  |  75 lines

  1.                        F i l e    I n f o r m a t i o n
  2.  
  3. * DESCRIPTION
  4. Documentation file for MDEL.
  5.  
  6. * ASSOCIATED FILES
  7. MDEL.PAS
  8. MDEL.DOC
  9. MDEL.EXE
  10.  
  11. ==========================================================================
  12. }
  13.                    MDEL
  14.                 File delete utility
  15.  
  16.   Mdel is a replacement for the standard DOS delete command. It was
  17. designed to emulate the functions available to the VAX/VMS delete utility
  18. and includes options to:
  19.      list the file name of the deleted file
  20.      ask for confirmation that the file should be deleted
  21.      select files by before or after dates
  22.      exclude files from being considered for deletion
  23.  
  24.   Mdel also allows the use of wild cards in the directory path and filename.
  25. This allows searching the entire disk or a sub-directory tree to find the
  26. file(s) to delete.
  27.  
  28.  
  29. Command format:
  30. mdel[/l][/c][/a=mm-dd-yy][/b=mm-dd-yy][/e=[path]filename] [path]filename
  31.  
  32. mdel ?               gives a brief version of this file on the screen
  33.  [ items within brackets are optional ]
  34.  
  35. Parameters and switches
  36.   /l              list the files as they are deleted.
  37.             this is the default when *.* is the filename
  38.   /c              confirm that this file is to be deleted.
  39.             If this switch is not set and the input filename
  40.             is *.* you are asked if you want to confirm each deletion.
  41.   /e              exclude specified file(s) from being deleted.
  42.             the file and path specification for this option can include
  43.             all allowable wildcards
  44.   /a  /b          allows before and after dates to select which
  45.             files are to be deleted. Using both switches selects files
  46.             between the given dates.
  47.             date format is mm-dd-yy
  48.  
  49.   The lists below depict the format for path and file name input. The main
  50. advantage over standard DOS is the ability to handle sub-directories and a
  51. more convenient filename wild card format.
  52.  
  53. Path format:
  54.  drv:\path\filename        delete specified file(s)
  55.  drv:\dirnam...\filename   delete file(s) from given directory and all subtrees
  56.  drv:\*...\filename        delete file(s) on entire given drive
  57.  *...\filename             delete file(s) on entire default drive
  58.  ...\filename              delete file(s) from current directory & subtrees
  59.  
  60.   There is no syntax check done on the path at this time. MDEL will use what
  61.   it can or will return an error message;(i.e. access denied, path not found).
  62.   If you get strange results check that the path you entered matches one of
  63.   the allowed formats.
  64.  
  65. Filename format:
  66.   name.ext                 delete given file
  67.   [*].ext                  delete all files that end with ext
  68.   name[.*]                 delete all files that start with name
  69.   [*cc*][.*cc*]            delete files based on a combination of wildcards
  70.                wildcards can be at the beginning or end of
  71.                each part of the filename but not at the same time.
  72.                For example:
  73.                  *trek.p* is valid but *tre*.pas is invalid
  74. 
  75.