RD or RMDIR

 < Day Day Up > 



Deletes a folder. RD stands for "Remove Directory."

Use

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.

Switches

/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.

Note

  • 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 > 



PC Repair and Maintenance(c) A Practical Guide
PC Repair and Maintenance: A Practical Guide (Charles River Media Networking/Security)
ISBN: 1584502665
EAN: 2147483647
Year: 2004
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net