in reply to Removing youngest directory

11-10-2004, 11-09-2004, 11-08-2004, 11-07-2004. The code should be removing the 11-07-2004 directory.

Your post is titled "Removing youngest directory", but 11-07-2004 would be the oldest, not the youngest.

Also keep in mind that your program will fail when the year changes because you are sorting by month-day-year instead of year-month-day.

Replies are listed 'Best First'.
Re^2: Removing youngest directory
by tc1364 (Beadle) on Nov 12, 2004 at 15:19 UTC
    thank you for all of the pointers, i sincerely appreciated the time you have taken to help me. sorry about not repling sooner but I have been helping troubleshoot someone elses code. Terry.