rd的另外一个写法是rmdir,源自ReMakeDirectory。
不光rd命令,其它命令也一样。复制代码
- rd /s /q "C:\test folder"
C:\Documents and Settings\Admin>rmdir /?
Removes (deletes) a directory.
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
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |