Automatically create a scheduled task to delete files older than x days

This short script helps to create a scheduled task that can delete files older than specified days;In below example, a new scheduled task named "Clear IIS Logs" that deletes .log files older than 30 days under c:\inetpub\logs is created.It also set to run as local administrators

4.5 Star
657 times
Add to favorites
E-mail Twitter Digg Facebook
Be the first to ask a question.