# 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]
# Tuesday, March 20, 2007

PrevX - DeleteOld (eh?)

I just found that the top entry in google for 'codebureau' is actually some listing on prevx.com (which I'd never heard of) that's seeming to suggest that DeleteOld (a console app I posted on CodeProject some time ago) is possibly spyware/malware - bloody cheek!  I'd be interested to know how this pops up on that tool, and also whether the .NET code has some flaws that means it can be used in a malicious way.  At least then I could defend myself.

posted on Tuesday, March 20, 2007 1:02:11 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0]
# Friday, July 15, 2005

CodeProject Article - String Enumerations in C#

This new article talks about the options available for string enums in C# - just one of those little quandaries you find yourself up against from time to time....

http://www.codeproject.com/csharp/stringenum.asp

posted on Friday, July 15, 2005 7:32:41 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]
# Sunday, May 15, 2005

CodeProject Article - Internet Explorer 5+ extensions

I've just added another article to offload some Javascript extensions I wrote a while ago for IE 5...

http://www.codeproject.com/jscript/ieextensions.asp

posted on Sunday, May 15, 2005 7:28:20 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0]
# Monday, February 21, 2005

CodeProject Article - Enhanced DataSet Quick Watch

This article runs through some amendments I've made to an already excellent VS Addin to 'visualise' datasets in the IDE.  There's definitely some improvements that can be made, but it shows how you can use the debugger to return useful information at runtime...

http://www.codeproject.com/csharp/dswatchex.asp

posted on Monday, February 21, 2005 7:37:26 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0]
# Tuesday, February 01, 2005

CodeProject Article - DeleteOld Console Application

This new article goes through more of a journey of unit testing a console app than anything else - but might prove useful to people...

http://www.codeproject.com/cs/files/deleteold.asp

posted on Tuesday, February 01, 2005 7:30:59 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0]