home *** CD-ROM | disk | FTP | other *** search
- F i l e I n f o r m a t i o n
-
- * DESCRIPTION
- Documentation file for MDEL.
-
- * ASSOCIATED FILES
- MDEL.PAS
- MDEL.DOC
- MDEL.EXE
-
- ==========================================================================
- }
- MDEL
- File delete utility
-
- Mdel is a replacement for the standard DOS delete command. It was
- designed to emulate the functions available to the VAX/VMS delete utility
- and includes options to:
- list the file name of the deleted file
- ask for confirmation that the file should be deleted
- select files by before or after dates
- exclude files from being considered for deletion
-
- Mdel also allows the use of wild cards in the directory path and filename.
- This allows searching the entire disk or a sub-directory tree to find the
- file(s) to delete.
-
-
- Command format:
- mdel[/l][/c][/a=mm-dd-yy][/b=mm-dd-yy][/e=[path]filename] [path]filename
-
- mdel ? gives a brief version of this file on the screen
- [ items within brackets are optional ]
-
- Parameters and switches
- /l list the files as they are deleted.
- this is the default when *.* is the filename
- /c confirm that this file is to be deleted.
- If this switch is not set and the input filename
- is *.* you are asked if you want to confirm each deletion.
- /e exclude specified file(s) from being deleted.
- the file and path specification for this option can include
- all allowable wildcards
- /a /b allows before and after dates to select which
- files are to be deleted. Using both switches selects files
- between the given dates.
- date format is mm-dd-yy
-
- The lists below depict the format for path and file name input. The main
- advantage over standard DOS is the ability to handle sub-directories and a
- more convenient filename wild card format.
-
- Path format:
- drv:\path\filename delete specified file(s)
- drv:\dirnam...\filename delete file(s) from given directory and all subtrees
- drv:\*...\filename delete file(s) on entire given drive
- *...\filename delete file(s) on entire default drive
- ...\filename delete file(s) from current directory & subtrees
-
- There is no syntax check done on the path at this time. MDEL will use what
- it can or will return an error message;(i.e. access denied, path not found).
- If you get strange results check that the path you entered matches one of
- the allowed formats.
-
- Filename format:
- name.ext delete given file
- [*].ext delete all files that end with ext
- name[.*] delete all files that start with name
- [*cc*][.*cc*] delete files based on a combination of wildcards
- wildcards can be at the beginning or end of
- each part of the filename but not at the same time.
- For example:
- *trek.p* is valid but *tre*.pas is invalid
-