Search

Want to make a suggestion on how to improve this guide? Feedback (do not use to
ask questions; instead use the Search box above).

MS-DOS Commands :: rd (rmdir)

Overview:

Removes a directory.

The command rmdir is the same as the rd command; they do the same thing. You can use either the rmdir command or use the rd command which takes fewer characters to type.

help rd

Removes (deletes) a directory.
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree with /S