Hi all
I need to write an application that checks for any "new" files in a directory and then processes them. One possibility is to use the date and time stamp of the file and keep a record of when the scan for new files was last done.
I was thinking that a better way might be to use the archive bit - as files are processed set the archive bit. I can get the archive bit OK with FileAttr(), and Directory() but how about setting the archive bit?
If I can set the archive bit then maybe I should try to modify Directory() to take an additional attribute for returning only files without the archive bit set to achieve what I want.
Regards
xProgrammer