Command Prompt for Windows




Command RMDIR or RD

Function:

Removes (deletes) a directory.

Syntax:

RMDIR [drive:]path [/S]
RD [drive:]path [/S]
/SProcess sub-directories.

Note:

Also see command MKDIR.