Search partial filenames in windows explorer

16

5

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?

Drazen Bjelovuk

Posted 2014-06-29T00:46:38.223

Reputation: 467

possible duplicate of Windows 7 Search Part of Filename

– Jason C – 2014-06-29T00:55:52.943

Answers

24

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

For more advanced search tips:

cody.codes

Posted 2014-06-29T00:46:38.223

Reputation: 1 172

6Awesome, that did the trick! name:~=world also works. – Drazen Bjelovuk – 2014-06-29T01:04:51.410

My fingers thank you for checking that name:~= also works. – cody.codes – 2014-06-29T01:07:56.687

1You 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 – 2016-08-06T20:08:53.530

Is there a way to not have the search happening incrementally? – Anders Lindén – 2016-09-12T10:57:37.957

filename:*world also works (Windows7) – The Quark – 2019-07-12T12:51:16.813

3

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

With name: you can use ~~world.

Jason C

Posted 2014-06-29T00:46:38.223

Reputation: 8 273

That doesn't seem to work with the name: prefix. – Drazen Bjelovuk – 2014-06-29T00:53:56.543

2@Josh What about ~~world? – Jason C – 2014-06-29T01:01:29.707

2name:~~world as well as name:~=world both seem to work. Thanks Jason. – Drazen Bjelovuk – 2014-06-29T01:15:02.517

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

bert

Posted 2014-06-29T00:46:38.223

Reputation: 11

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

Warren Bolton

Posted 2014-06-29T00:46:38.223

Reputation: 1

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)

Martin Desaulniers

Posted 2014-06-29T00:46:38.223

Reputation: 1

Add (*) asterisque symbol before and in between word and at end to match the "contain" search – Martin Desaulniers – 2019-09-09T12:35:00.913