[Solved in Beta 5] TC9 Beta 2: Everything Search Syntax
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 45
- Joined: 2006-06-10, 21:41 UTC
- Location: Arizona
[Solved in Beta 5] TC9 Beta 2: Everything Search Syntax
Hello,
Is there a way to tell TC9 to use Everything's search syntax?
I've been using Everything for about a year now so I've been eagerly awaiting TC9's integrated Everything search. I just installed TC9 Beta 2 and I've been testing its search and I'm surprised that TC9's implementation doesn't appear to recognize the Everything search syntax that I'm accustomed to using.
A few particulars:
TC9.0 Beta 2 64-bit (EVERYTHING64.DLL is in c:\totalcmd\)
Everything 1.3.4.686 (x64) already installed
Windows 7 Pro SP1 64-bit
Currently, I use Everything to find tagged Visio drawings (I have hundreds). For example, my drawings might be named something like this:
vnnnn.tag1.tag2.tag3.tagN.vsd (where nnnn is a serial number, i.e., 1000, 1001, 1002, ...)
Here are some example tagged files:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
v1011.product.dsss.fir.filter.fpga.vsd
v1012.product.dsss.mnc.vsd
v1013.acm.big-picture.fpga.vsd
v1014.product.dsss.fpga.pll.symbol-loop.vsd
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
With Everything, if I type into the search box something like this:
.vsd timing
Then Everything will just show me the two files that contain timing diagrams:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
Then if I add "figure" to the search string:
.vsd timing figure
Everything will narrow the results to just show me timing diagrams that are formatted as figures:
v1009.dsss.dft.figure.timing.vsd
In TC9 (with 'Everything' checked), if I type the following into the search for box:
Search for: timing
I get:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
So far so good. Now if I add "figure", i.e.,
Search for: timing figure
I get [No files found]. Reading the help, I see the syntax is different and I need to add wild cards, so I change my search string as follows,
Search for: *timing* *figure*
then I get:
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
Instead of narrowing the search, it ADDS to the results. This is NOT what I want. So I tried,
Search for: *timing* AND *figure*
and I get the same results.
Is there a setting I can use to make it work like Everything?
Thanks,
Rob
Is there a way to tell TC9 to use Everything's search syntax?
I've been using Everything for about a year now so I've been eagerly awaiting TC9's integrated Everything search. I just installed TC9 Beta 2 and I've been testing its search and I'm surprised that TC9's implementation doesn't appear to recognize the Everything search syntax that I'm accustomed to using.
A few particulars:
TC9.0 Beta 2 64-bit (EVERYTHING64.DLL is in c:\totalcmd\)
Everything 1.3.4.686 (x64) already installed
Windows 7 Pro SP1 64-bit
Currently, I use Everything to find tagged Visio drawings (I have hundreds). For example, my drawings might be named something like this:
vnnnn.tag1.tag2.tag3.tagN.vsd (where nnnn is a serial number, i.e., 1000, 1001, 1002, ...)
Here are some example tagged files:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
v1011.product.dsss.fir.filter.fpga.vsd
v1012.product.dsss.mnc.vsd
v1013.acm.big-picture.fpga.vsd
v1014.product.dsss.fpga.pll.symbol-loop.vsd
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
With Everything, if I type into the search box something like this:
.vsd timing
Then Everything will just show me the two files that contain timing diagrams:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
Then if I add "figure" to the search string:
.vsd timing figure
Everything will narrow the results to just show me timing diagrams that are formatted as figures:
v1009.dsss.dft.figure.timing.vsd
In TC9 (with 'Everything' checked), if I type the following into the search for box:
Search for: timing
I get:
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
So far so good. Now if I add "figure", i.e.,
Search for: timing figure
I get [No files found]. Reading the help, I see the syntax is different and I need to add wild cards, so I change my search string as follows,
Search for: *timing* *figure*
then I get:
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
v1009.dsss.dft.timing.vsd
v1010.dsss.dft.figure.timing.vsd
Instead of narrowing the search, it ADDS to the results. This is NOT what I want. So I tried,
Search for: *timing* AND *figure*
and I get the same results.
Is there a setting I can use to make it work like Everything?
Thanks,
Rob
Last edited by Rob Weinstein on 2016-07-14, 14:52 UTC, edited 1 time in total.
-
- Junior Member
- Posts: 45
- Joined: 2006-06-10, 21:41 UTC
- Location: Arizona
Let me simplify the question...
Let's say I have these files:
v1009.dsss.dft.timing.vsd
v1010.dsss.figure.dft.timing.vsd
v1011.product.dsss.fir.filter.fpga.vsd
v1012.product.dsss.mnc.vsd
v1013.acm.big-picture.fpga.vsd
v1014.product.dsss.fpga.pll.symbol-loop.vsd
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
If I only know the tags timing and figure, what do I type into the 'Search for:' field so the search results will only return this single file: v1010.dsss.figure.dft.timing.vsd?
I welcome solutions with and without RegEx.
Thanks,
Rob
Let's say I have these files:
v1009.dsss.dft.timing.vsd
v1010.dsss.figure.dft.timing.vsd
v1011.product.dsss.fir.filter.fpga.vsd
v1012.product.dsss.mnc.vsd
v1013.acm.big-picture.fpga.vsd
v1014.product.dsss.fpga.pll.symbol-loop.vsd
v1015.figure.fpga.top-level.vsd
v1016.demod.dsss.figure.top-level.vsd
If I only know the tags timing and figure, what do I type into the 'Search for:' field so the search results will only return this single file: v1010.dsss.figure.dft.timing.vsd?
I welcome solutions with and without RegEx.
Thanks,
Rob
2Rob Weinstein
Enable Regex and try
Enable Regex and try
Code: Select all
figure\..+\.timing
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
-
- Junior Member
- Posts: 45
- Joined: 2006-06-10, 21:41 UTC
- Location: Arizona
-
- Junior Member
- Posts: 45
- Joined: 2006-06-10, 21:41 UTC
- Location: Arizona
Thanks Ovg.
I can see where this is going, unfortunately, especially if I want to search for three or more terms in any order.
I did some googling and found I can use RegEx with something called positive lookahead to find multiple terms in any order like this:
(?=.*timing)(?=.*figure).*
It works beautifully on this Ruby RegEx editor: http://www.rubular.com/r/Xm0BUX0DcS
Unfortunately, it doesn't work in TC nor in the Everything GUI (maybe it's just a Ruby thing). I'm not a programmer and this is starting to get complicated - I think I may be heading down the wrong path.
I'm still open to suggestions.
Rob
I can see where this is going, unfortunately, especially if I want to search for three or more terms in any order.
I did some googling and found I can use RegEx with something called positive lookahead to find multiple terms in any order like this:
(?=.*timing)(?=.*figure).*
It works beautifully on this Ruby RegEx editor: http://www.rubular.com/r/Xm0BUX0DcS
Unfortunately, it doesn't work in TC nor in the Everything GUI (maybe it's just a Ruby thing). I'm not a programmer and this is starting to get complicated - I think I may be heading down the wrong path.
I'm still open to suggestions.
Rob
For 3, 4 ... tags you will have to generate all combinations....Ovg wrote:2Rob Weinstein
try figure.+timing|timing.+figure
This is not optimal but.
What you can do is to do iterative searches.
First find all your vsd file
(Feed to listbox, select all)
Then search in selected files, the one that have timing
(Feed to listbox, select all)
Then search in selected files, the one that have figure
.....
-
- Junior Member
- Posts: 45
- Joined: 2006-06-10, 21:41 UTC
- Location: Arizona
Solved with TC9 Beta 5
TC9 Beta 5 solves my problem!
ev:.vsd .timing
TC returns:
v1009.dsss.dft.timing.vsd
v1010.dsss.figure.dft.timing.vsd
Then if I add ".figure" to the search string:
ev:.vsd .timing .figure
TC returns the single file:
v1010.dsss.figure.dft.timing.vsd
This is exactly what I wanted and it works great.
Thanks Christian and everyone who contributed.
-Rob
Now when I type:HISTORY.TXT wrote:13.07.16 Release Total Commander 9.0 beta 5 (32/64)
13.07.16 Added: Experimental, not yet documented in help: Pass search parameters directly to "Everything" with prefix ev:, e.g. ev:<c: |d:> *.mp3 Note: All other search parameters except for the path field will still be applied to the results (32/64)
ev:.vsd .timing
TC returns:
v1009.dsss.dft.timing.vsd
v1010.dsss.figure.dft.timing.vsd
Then if I add ".figure" to the search string:
ev:.vsd .timing .figure
TC returns the single file:
v1010.dsss.figure.dft.timing.vsd
This is exactly what I wanted and it works great.
Thanks Christian and everyone who contributed.
-Rob
Thanks to Christian for the fast implementation of my suggestion to support Everything raw search strings.
This gives us the best of both tools in one environment.

This gives us the best of both tools in one environment.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please let me know if you encounter any problem with the new ev: prefix!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com