Page 1 of 1 1
Topic Options
#160525 - 2006-04-07 05:45 PM File deletion based on date?
euc Offline
Fresh Scripter

Registered: 2005-05-24
Posts: 6
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

Top
#160526 - 2006-04-07 05:50 PM Re: File deletion based on date?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
There is the CleanDirectory() UDF.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#160527 - 2006-04-07 06:39 PM Re: File deletion based on date?
euc Offline
Fresh Scripter

Registered: 2005-05-24
Posts: 6
Perfect!

Thanks!

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.06 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org