oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DELTREE--Notes
Example  Syntax
────────────────────────────────────────────────────────────────────────────
 
                               DELTREE──Notes
 
DELTREE and hidden, system, and read-only attributes
 
The DELTREE command deletes all files contained in a directory or
subdirectory, regardless of attributes.
 
Errorlevel parameters
 
If DELTREE successfully deleted the directory, it returns an ERRORLEVEL
value of 0.
 
Using wildcards with DELTREE
 
You can use wildcards with the DELTREE command, but use them with extreme
caution. If you specify a wildcard that matches both directory names and
filenames, both the directories and files will be deleted. Before specifying
wildcards with the DELTREE command, use the DIR command to view the files
and directories you will delete.
 
                                      ♦