troubleshooting Question

How to Delete All Files Greater Than 90 Days

Avatar of smaguire
smaguireFlag for Canada asked on
.NET ProgrammingEditors IDEs
2 Comments1 Solution1244 ViewsLast Modified:
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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros