rem auther:zhyq rem date:20220930 rem ******del log Start****** @echo off ::删除三月前的日志 forfiles /p "C:\powerShovel\api\logs" /m *.log -d -90 /c "cmd /c del /f @path" @echo on rem ******del log End******