Link to home
Start Free TrialLog in
Avatar of Richard Frank
Richard FrankFlag for Netherlands

asked on

vbscript to delete ex*.log files older than x days

I need a script that recursively deletes IIS log files
The log files are in a log folder within each website
I found this script
https://www.experts-exchange.com/questions/23173209/Script-to-delete-files-after-X-days.html
but that is only to delete files older than x numver of days

I am a bit in a hurry for this, so 500 points
ASKER CERTIFIED SOLUTION
Avatar of DrunkenELF
DrunkenELF
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of William Elliott
William Elliott
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Frank

ASKER

thnx you both.. that is wat I needed. top notch
simple and all what is necessary.
though d-elf.. you had to much beers ;) to omit the enters