Submitted By: Anonymous Submission

Deletes IIS log files older than 60 days. Syntax: /d -60 = days old. /p = logs reside here.

Visual Basic
Edit|Remove
forfiles /p c:inetpub\web_logs /s /m *.log /d -60 /c "cmd del /q @file"