I need a script to delete log files - TechRepublic
General discussion
November 7, 2005 at 02:38 PM
patrick horn

I need a script to delete log files

by patrick horn . Updated 17 years, 3 months ago

I have never written a script and have been tasked with writing one to delete log files. Here is the info I can supply for help. It is in a windows server environment. I would like to set it up as a scheduled task to run once a month. The script must look at log files in a folder on the server and delete any that are older than 3 months. My boss would prefer that it be a command line script, or it can also be a vb script, that is what I’m trying to teach myself. any help would be appreciated. Thanks.

This discussion is locked

All Comments