Is there a way to sort a fileset?

What I want to do is delete all of the folders in a location except for the 
newest 5. I thought if I could sort the fileset by file date then in a foreach 
I can just skip the first 5 folders in the set.

Or, is there another, easier way to do this?

BOb


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to