Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在YYY文件夹下,有很多不同名字的子文件夹,我想把XXX文件夹全部删掉,怎么办?
我知道del /s YYY/XXX.*,但它用于删除文件,而不是文件夹
del /s YYY/XXX.*
从命令行:
for /D %f in (XXX*) do rmdir %f /s
您可以通过 CMD 行执行此操作。
RD /S /Q "Full Path of Folder"
这是有关如何执行此操作的链接:Link1