# Saturday, October 18, 2008

Updated DeletedOld CodeProject Article

After an extremely long time I've made an update to the DeleteOld console app and updated the CodeProject article.  The original was .NET 1.1 - this one's now 2.0 (I'm not on 3 yet!)

It still does the same things it did - deletes files of a specified age, but now also:
  • Allows files to be deleted 'newer' than a certain age as well as 'older'
  • Allows files to be deleted based on an absolute date (overriding the timeframe arguments)
  • Allows the 'root' path to be preserved if 'remove empty folders' is selected and the path specified is empty.
  • Fixed a bug in Arguments parsing regex as noted by dudik
  • Changed output datetime format to 'full' rather than specific dd/mm/yyyy as noted by a.plus.01
I had a need for the absolute date, so thought I may as well cover off a few other things. 

Hope it's of some use...

You can also see my other CodeProject articles.

posted on Saturday, October 18, 2008 8:32:58 AM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0]
Related posts:
LINQ Group by MAX Date Query
Simple WPF Page Navigation From an MVVM ViewModel
Generate SQL Server Inserts from existing data - with Identity Inserts
LINQ to SQL Connection Strings with Class Library and Web.Config
Deleting Registry values with a .reg file
Making Web Wireframes easier with Visio - The Pixel Dimensions Shape