@echo off echo 正在清理编译文件... if exist target ( rmdir /s /q target echo 清理完成! ) else ( echo 没有需要清理的文件。 ) pause