Advertisement

05.26.2008 at 11:21AM PDT, ID: 23433103
[x]
Attachment Details

How to Delete All Files Greater Than 90 Days

Asked by smaguire in Microsoft Visual C#.Net, .Net Editors & IDEs

Tags: C#, Visual Studio 2008 Pro

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?

thanksStart Free Trial
[+][-]05.26.2008 at 11:33AM PDT, ID: 21647552

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, .Net Editors & IDEs
Tags: C#, Visual Studio 2008 Pro
Sign Up Now!
Solution Provided By: bratao
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628