| < Day Day Up > |
|
Deletes a folder. RD stands for "Remove Directory."
Type RD followed by the path to the folder you want to delete, followed by any desired switches. Make sure to enter the full path, starting with the drive letter. Do not navigate first to the folder you want to delete; RD won't work if you do. Additionally, RD won't work if the folder to be deleted is a subfolder of the current folder.
/s: Includes all subfolders and their contents.
/q: Quiet mode. Normally, a confirmation is given after the deletion is complete; /q turns off this confirmation.
You cannot delete a folder with hidden or system files without removing these attributes first. See DIR to locate these files and ATTRIB to remove these attributes.
| < Day Day Up > |
|