Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Clean up log files older then 35 days since no one bothers checking them.
- forfiles -p "C:\inetpub\logs\LogFiles" -s -m *.* /D -35 /C "cmd /c del /Q /F @path"
- forfiles -p "C:\Program Files\DebugDiag\Logs" -s -m *.txt /D -35 /C "cmd /c del /Q /F @path"
- forfiles -p "C:\Program Files\DebugDiag\Logs" -s -m *.dmp /D -35 /C "cmd /c del /Q /F @path"
Advertisement
Add Comment
Please, Sign In to add comment