Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Searcher Updates Last Accessed Time

Keywords: 

Question:

When searching through a filesystem, Searcher resets the "last access" on all the files, giving me the impression that GetEx was faulty.

Other file-searching utilities doesn't update this date (utils like Norton FileFind and "Find" in Win95/NT). HSM solutions doesn't update it either.

My problem is that I'm building a program that archives old files to ADSM based on the last access and I shouldn't touch the files at all.

Answer:

To hit the file we need to access it....Thus LastAccess....

For a workaround, maybe you could search for a file "XXX.YYY" that you know does NOT exist on your system, but enable SEARCHER to return directory names as it works.

Once you get a directory name, do a fileitemize on the directory (hoping it is not too big) and work on those names.


Article ID:   W12560
Filename:   Searcher Updates Last Access Time.txt