I'm trying to search for all files that contain the word "box". I get results for files that start with box, such as "box01", "boxcar" etc. But I do not get files that end with or contain the search word, such as "thebox", "thisboxfile".

How can I search for part of a file's name in Windows 7?

2 Answers 2


I assume you are using windows explorer. Navigate to the closest portion of the directory tree where you think the file is. Then in the top right search box, use the wildcard syntax, and type "*box". The asterisk in front of or after, means match anything.

  • This doesn't seem to work with the name: prefix. Jun 29, 2014 at 0:58
  • 4
    Thanks to cody codes and Jason C, I've discovered that name:~=keyword as well as name:~~keyword do the job in this case. Jun 29, 2014 at 1:22
  • Combining this with double quotes, you can search for something with spaces too, like: name:~="keyword keyword"
    – Winfried
    Aug 8, 2015 at 3:40
  • Microsoft, kings of usability and user friendliness. Even a search box requires declarative programming language knowledge to use. #mustbethistall Oct 19, 2018 at 14:27

Everything Search is the best tool I have ever used and its free and much faster than other's, just search whatever you want just enter the word or file name. Agent Ransack is another tool which can see through the contents of the files.

enter image description here

  • OMG Everything is amazing! Mar 21, 2020 at 17:27
  • @MarcoDemaio, everything i̲s̲ amazing... lol Nov 22, 2021 at 3:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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