Rmdir (rd)Removes (that is, deletes) a directory.
Syntax
rmdir [Drive:]Path [/s] [/q]
rd [Drive:]Path [/s] [/q]
Parameters
[Drive:]Path
Specifies the location and name of the directory that you want to delete.
/s
Removes the specified directory and all subdirectories including any files. Use /s to remove a tree.
/q
Runs rmdir in quiet mode. Deletes directories without confirmation.
/?
Displays help at the command prompt.
(The new "deltree". Type: "help" to see all commands.)