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
────────────────────────────────────────────────────────────────────────────
 
                                  DELTREE
 
Deletes a directory and all the files and subdirectories that are in it.
 
Syntax
 
    DELTREE [/Y] [drive:]path [[drive:]path[...]]
 
Parameter
 
drive:path
    Specifies the name of the directory you want to delete. The DELTREE
    command will delete all the files contained in the directory you
    specify, as well as all subdirectories and files in the subdirectories
    subordinate to this directory. You can specify more than one directory.
 
Switch
 
/Y
    Carries out the DELTREE command without first prompting you to confirm
    the deletion.
 
Related Commands
 
For information about removing a directory, see the <RMDIR> command.
 
For information about deleting files, see the <DEL> command.
 
                                      ♦