[Everything] 9.0ß6 Search by mask is broken
Moderators: Hacker, petermad, Stefan2, white
[Everything] 9.0ß6 Search by mask is broken
With Everything, TC finds no "Find*.cmake" files, and without all files are found.
Yes, it seems that the "Everything_SetMatchPath" setting fixed one problem but created another.
The dilemma is as follows:
There are two settings for path matching in Everything:
- Search -> Match Path (Ctrl+U)
- General -> Search -> Match path when a search term contains \ ...
TC always sends a path so one of them has to be set. But using wildcards in the middle of a filename negates the desired effect.
Try in Everything e.g:
"c:\windows *.exe"
and
"c:\windows a*.exe"
and toggle the two options to see what I mean.
The dilemma is as follows:
There are two settings for path matching in Everything:
- Search -> Match Path (Ctrl+U)
- General -> Search -> Match path when a search term contains \ ...
TC always sends a path so one of them has to be set. But using wildcards in the middle of a filename negates the desired effect.
Try in Everything e.g:
"c:\windows *.exe"
and
"c:\windows a*.exe"
and toggle the two options to see what I mean.
I always have setZoSTeR wrote:Yes, it seems that the "Everything_SetMatchPath" setting fixed one problem but created another.
The dilemma is as follows:
There are two settings for path matching in Everything:
- Search -> Match Path (Ctrl+U)
- General -> Search -> Match path when a search term contains \ ...
TC always sends a path so one of them has to be set. But using wildcards in the middle of a filename negates the desired effect.
Try in Everything e.g:
"c:\windows *.exe"
and
"c:\windows a*.exe"
and toggle the two options to see what I mean.
General -> Search -> Match path when a search term contains \ ...
Both of your examples working fine in Everything UI.
In TC I have to use the ev: prefix to get correct results.
Thats the reasons why I always use ev: prefix with TC Everything searches.
The whole beauty of Everything searches only comes with ev:
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can confirm that - it doesn't find the string with * in the middle with Everything_SetMatchPath(true).
However, it does find it with Everything_SetMatchPath(false) ! Maybe I misunderstand the meaning of this command? Can anyone help me understand it? For now, I have changed the call to Everything_SetMatchPath(false), because when I call Everything_GetMatchPath() it already returns false here...
However, it does find it with Everything_SetMatchPath(false) ! Maybe I misunderstand the meaning of this command? Can anyone help me understand it? For now, I have changed the call to Everything_SetMatchPath(false), because when I call Everything_GetMatchPath() it already returns false here...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Some extract from the Everything helpghisler(Author) wrote:I can confirm that - it doesn't find the string with * in the middle with Everything_SetMatchPath(true).
However, it does find it with Everything_SetMatchPath(false) ! Maybe I misunderstand the meaning of this command? Can anyone help me understand it? For now, I have changed the call to Everything_SetMatchPath(false), because when I call Everything_GetMatchPath() it already returns false here...
Wildcards match the whole filename.
"Disable Match whole filename" when using wildcards to match wilcards anywhere in the filename.
"Match whole filename" when using wildcards
If enabled, using wildcards must match the entire filename.
If disabled, wildcard matches can be found anywhere in the filename.
In my Everything installation I've disabled "Match whole filename" in the options. So both examples from above work.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, but that makes no sense - if I use tot*.exe it will not find totalcmd.exe although I gave the entire name. Maybe they mean the full path+name?
Therefore I'm now calling Everything_SetMatchPath(false) in beta 7, that seems to work. Please try it!
Therefore I'm now calling Everything_SetMatchPath(false) in beta 7, that seems to work. Please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
for me, this works as expected in b6 with above recommended settings.ghisler(Author) wrote:Hmm, but that makes no sense - if I use tot*.exe it will not find totalcmd.exe although I gave the entire name. Maybe they mean the full path+name?
ev: tot*.exe
finds
c:\Program Files\WINCMD\TOTALCMD.EXE
(besides other findings ofc)
btw, will there be check button instead of ev: once this gets stable? typing this all the time is a bit of a hassle.

personally i'd like to have the ev raw as default anyway.
licenced and happy TC user since 1994 (#11xx)
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When using ev: prefix, TC did not call Everything_SetMatchPath at all.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I don't get the logic either but for now it seems that you have to instruct the user to set
- General -> Search -> Match path when a search term contains a path separator
to get the expected results. It's enabled by default.
I think this setting first matches the path, so its gone from the file match/pattern. So when you set "Match Path" additionally it will fail.
Overall I think it's just buggy/illogical.
- General -> Search -> Match path when a search term contains a path separator
to get the expected results. It's enabled by default.
I think this setting first matches the path, so its gone from the file match/pattern. So when you set "Match Path" additionally it will fail.
Overall I think it's just buggy/illogical.
Last edited by ZoSTeR on 2016-07-27, 21:46 UTC, edited 4 times in total.
B7 is ok for Everything searches but I still prefer to use the ev: prefix.
This makes ist much easier to find all related entries for a search text
and it requires much less typing for most searches.
This makes ist much easier to find all related entries for a search text
and it requires much less typing for most searches.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64