I'm attempting to search part of a filename in windows explorer, but unless the part of the name I search for is at the very beginning or is separated by spaces or underscores, it fails to match. For example, a file named HelloWorld.java will match a search of hello, but not world. *world fails as well.

Is there a native solution to this?


7 Answers 7


Using this keyword and searching for "world": name:~=world will do the trick.

For more advanced search tips:

  • 6
    Awesome, that did the trick! name:~=world also works. Jun 29, 2014 at 1:04
  • My fingers thank you for checking that name:~= also works.
    – cody.codes
    Jun 29, 2014 at 1:07
  • 1
    You rock - I was stuck on this myself and being late on a Saturday was getting ticked off. I rarely use windows search but have to in this case. Aug 6, 2016 at 20:08
  • Is there a way to not have the search happening incrementally? Sep 12, 2016 at 10:57
  • 2
    filename:*world also works (Windows7)
    – The Quark
    Jul 12, 2019 at 12:51

*world*, the extension is part of what it runs the match against.

With name: you can use ~~world.

  • That doesn't seem to work with the name: prefix. Jun 29, 2014 at 0:53
  • 2
    @Josh What about ~~world?
    – Jason C
    Jun 29, 2014 at 1:01
  • 2
    name:~~world as well as name:~=world both seem to work. Thanks Jason. Jun 29, 2014 at 1:15
  • And what is this syntax doing? Aug 16, 2021 at 0:21
  • @randy I'd have to look up name option to recall exact behavior but phone is about to die so if I had to guess I'd say ~~ is maybe something like "contains"? Don't quote me on that sorry for forgetting. Prob should've linked to docs 🤷‍♂️.
    – Jason C
    Aug 26, 2021 at 17:46

Try a simple wildcard search * So your search would be *world

Wildcard search should pull up any partial matches however won't highlight the result in the file name. A lot simpler than typing out the other searches...


I found that (name:~='your name') and (name:~= 'your name') and (filename:* 'your name') would not work form me

BUT I stored file by NUMERALS

However (* your numerical) does- Even for a part match

i.e. file = 123456789 Search (*5678) does the job

Hope this helps


This did the trick for me (search for all files that contain the word 'subaru' and 'v2' in the file name : - System.FileName:~=(subaruv2)

Other example (search for all files that contain the word 'subaru' with the extension '.html' : - System.FileName:~=(subaru.html)

  • Add (*) asterisque symbol before and in between word and at end to match the "contain" search Sep 9, 2019 at 12:35

Search for a single word:


Search for multiple words:

filename:(*hello* *world*)

Don't forget the localized keywords, like in German:

dateiname:(*hello* *world*)

As already mentioned, the name: option works as well, but regarding the documentation it is usually a "property" of a file and not the filename itself. So I would say name: searches in filename AND metadata of a file.


Install Everything

"Everything" is search engine that locates files and folders by filename instantly for Windows.

Unlike Windows search "Everything" initially displays every file and folder on your computer (hence the name "Everything").

You type in a search filter to limit what files and folders are displayed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .