@echo offrem 这里写你的仓库路径set REPOSITORY_PATH=D:Java eporem 正在搜索...for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%*lastUpdated*"') do ( del /s /q %%i)rem 搜索完毕pause