rd or rmdir


rd or rmdir

rd is used to delete empty directories, and optionally , to delete directories and their contents. Unlike in Windows Explorer, files and folders are deleted differently; if you try to use del to delete a directory, it will simply delete all the files in the directory, but the directory itself will remain . rd accepts the following options:

 rd [/s] [/q]   path   

Option

Description

path

Specifies the directory to delete.

/s

Removes all files and subdirectories of the specified directory.

/q

Quiet mode; don't prompt when using /s .



Windows XP Pocket Reference
Windows XP Pocket Reference
ISBN: 0596004257
EAN: 2147483647
Year: 2001
Pages: 154
Authors: David A. Karp

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