Check for number of times a file has been accessed

nathan323

Reputable
May 2, 2014
13
0
4,520
I want to write a batch file that checks if a particular file has been accessed a certain number of times, then deletes it if it has.

Is this attribute even stored by Windows?
 
At least common file systems, like NTFS don't store that. It might be possibel, to get the information with a WebDAV proxy or something like it, but even then: how do you separate the users from the indexing service, virus scanner, defagmenter and so on?