What command do you use to remove a subdirectory?

[Edit]

In XP:
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

e.g.
RD myfolder2
will delete myfolder2 if it is empty

To delete the folder with contents use the /S option.

In XP:
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

e.g.
RD myfolder2
will delete myfolder2 if it is empty

To delete the folder with contents use the /S option.

Improve Answer Discuss the question "What command do you use to remove a subdirectory?" Watch Question

First answer by ID3325479619. Last edit by ID3325479619. Question popularity: 1 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Software and Applications > What command do you use to remove a subdirectory?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
To remove a subdirectory?  What command is to remove a subdirectory?  What command to change the current directory To remove a subdirectory?