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.
RMDIR (RD)
Notes  Example
────────────────────────────────────────────────────────────────────────────
 
                                 RMDIR (RD)
 
Deletes (removes) a directory.
 
Before you can delete a directory, you must delete its files and
subdirectories. The directory must be empty except for the "." and ".."
symbols.
 
Syntax
 
    RMDIR [drive:]path
 
    RD [drive:]path
 
Parameter
 
[drive:]path
    Specifies the location and name of the directory you want to delete.
 
Related Commands
 
For information about creating a directory, see the <MKDIR> command.
 
For information about hidden files, see the <ATTRIB> command and the <DIR>
command (the /A switch).
 
For information about deleting files, see the <DEL> command.
 
For information about deleting a directory, its files, and all
subdirectories and files subordinate to it, see the <DELTREE> command.
 
                                      ♦