RM -rf等效于Windows? [英] RM -rf equivalent for Windows?
本文介绍了RM -rf等效于Windows?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一种递归删除文件夹及其子文件的方法,是否有预建工具,或者我需要编写一个吗?
I need a way to recursively delete a folder and its children, is there a prebuilt tool for this, or do I need to write one?
DEL / S不会删除目录。
DEL /S doesn't delete directories.
DELTREE已从Windows 2000中删除
DELTREE was removed from Windows 2000+
推荐答案
RMDIR或RD:
rd /s /q
这篇关于RM -rf等效于Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文