RD OR RMDIR


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.




The A+ Certification & PC Repair Handbook
The A+ Certification & PC Repair Handbook (Charles River Media Networking/Security)
ISBN: 1584503726
EAN: 2147483647
Year: 2003
Pages: 390

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