Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have found only according to "date modified" and not "access date"

I haven't found any ways of sorting this correctly. Maybe I should use third party software?

share|improve this question
Can't tell exactly, but maybe this helps: Windows Search Advanced Query Syntax, also see my other answer here. – slhck Jul 5 '11 at 14:14
Do you have access to powershell on the machine where you want to search? – EBGreen Jul 5 '11 at 14:53
Ooops...just saw the Windows-7 tag, so you do have access to powershell. – EBGreen Jul 5 '11 at 14:58
up vote 1 down vote accepted

In Powershell (which is already installed on your Windows 7 machine) you could do something like this:

Get-childItem C:\* -recurse -include *.txt | Where-Object{$_.LastAccessTime -gt (Get-Date).AddDays(-7)}

This would recursively search the C drive for any text file accessed in the last 7 days for example.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.