13

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?

20

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. – Drazen Bjelovuk Jun 29 '14 at 1:04
  • My fingers thank you for checking that name:~= also works. – cody.codes Jun 29 '14 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. – David Sterling Aug 6 '16 at 20:08
  • Is there a way to not have the search happening incrementally? – Anders Lindén Sep 12 '16 at 10:57
  • filename:*world also works (Windows7) – The Quark Jul 12 at 12:51
3

*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. – Drazen Bjelovuk Jun 29 '14 at 0:53
  • 2
    @Josh What about ~~world? – Jason C Jun 29 '14 at 1:01
  • 2
    name:~~world as well as name:~=world both seem to work. Thanks Jason. – Drazen Bjelovuk Jun 29 '14 at 1:15
1

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...

0

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

0

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 – Martin Desaulniers Sep 9 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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