@echo on for /r %%f in (*.pdb,*.xml) do del %%f 保存为bat文件执行! 转载于:https://www.cnblogs.com/simadi/p/5714796.html