Wednesday, 15 July 2015

Tidy WWW Log files and only keep the last 5 days worth

forfiles /P "C:\WINDOWS\system32\LogFiles\W3SVC1" /M *.log /D -5 /C "cmd /c del @PATH"

No comments:

Post a Comment

Note: only a member of this blog may post a comment.