euc
(Fresh Scripter)
2006-04-07 05:45 PM
File deletion based on date?

I'm not sure if this is the right Forum to post this but I'm looking for code which will scan a directory for files, get the file dates and delete the files based on x number of days.

Thanks


Les
(KiX Master)
2006-04-07 05:50 PM
Re: File deletion based on date?

There is the CleanDirectory() UDF.

euc
(Fresh Scripter)
2006-04-07 06:39 PM
Re: File deletion based on date?

Perfect!

Thanks!