Hi all,
I'm creating a file
using new
FileOutputStream(fileName) ,where fileName is composed of a prefix taken with
System.getProperty("OutFile", "\\Out") and the suffix
is the current timestamp.
The thing is, I want to be
able to delete all files with the same prefix that are older than X days (where
X is also a parameter).
How do I do
that?
Thanks,
Ron Sher
http://www.sys-con.com/java/list.cfm
