I have a list of sales orders in a folder. I want a batch script that can output into a txt file, when were all the files last accessed but not necessarily modified.
Last Access has been turned off by default for many years.
This command shows the setting of any computer you are interested in.
fsutil behavior query disablelastaccess
For using lastaccess - programs that don't open a file under user direction (eg search indexers, icon extractors like explorer, property sheets, etc) have to go back and restore last access to what it was before they opened it.