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.
As others have said, Last Access Date is not reliable on NTFS. But if you wanted to extract it anyway, here is one way, but it will need a bit more parsing:
wmic DataFile where "Name='C:\\Users\\Default\\NTUSER.DAT'" get LastAccessed /value