Link to home
Start Free TrialLog in
Avatar of smaguire
smaguireFlag for Canada

asked on

How to Delete All Files Greater Than 90 Days

Hi All,
How can I delete old files which are older than 90 days automatically from a specific folder?
my application logs files everyday and I want to be able to delete older file(s) before writing new one(s)
assuming i am writing to C:\Temp\
File are:
MyFile1_080526
MyFile1_080525
MyFile1_080524
...

where 080524 is May 24, 2008
any idea?

thanks
ASKER CERTIFIED SOLUTION
Avatar of bratao
bratao

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 smaguire

ASKER

Thanks