Incorrect "!" transfer to Everything
Moderators: Hacker, petermad, Stefan2, white
Incorrect "!" transfer to Everything
Everything syntax treats "!" as the NOT operator, so searching i.e. "!abc" on full disk root directory will simply hang the Total Commander (due to returning of very long list of all the MFT files records from Everything).
Everything needs backslashing of "!" and turning regexp on in order to search "!abc". But TC doesn't search "\!abc" with Everything for "!abs" as Everything does.
Everything needs backslashing of "!" and turning regexp on in order to search "!abc". But TC doesn't search "\!abc" with Everything for "!abs" as Everything does.
I can confirm that !abc is not found when Everything is turned on.
But I cannot confirm that TC is hung - it just takes about 10 seconds before TC listing the search. This is for my entire drive C: 197451 files in 39918 directories.
But I cannot confirm that TC is hung - it just takes about 10 seconds before TC listing the search. This is for my entire drive C: 197451 files in 39918 directories.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
All my NTFS drives only holds around 300.000 files all together
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
So what would be the correct syntax to find a name starting with ! character?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Here are my findings (Attention to the * (asterisk)):ghisler(Author) wrote:So what would be the correct syntax to find a name starting with ! character?
Filenames: !abc, !abc_Kopie
Code: Select all
ed:*!abc ................. finds ONLY !abc, does NOT find: !abc_Kopie
ed:*!abc_Kopie ........... finds ONLY !abc_Kopie, does NOT find: !abc
Code: Select all
ed: *.* !abc.jpg ......... finds *.* INCLUDING !abc_Kopie.jpg - does NOT find: !abc.jpg
ed: *.* !abc_Kopie.jpg ... finds *.* INCLUDING !abc.jpg - does NOT find: !abc_Kopie.jpg
https://www.voidtools.com/forum/viewtopic.php?p=6197#p6197
Last edited by tuska on 2017-10-06, 12:44 UTC, edited 1 time in total.
IMHO the right way to solve the problem is to contact with Everything developer (http://www.voidtools.com/contact/) to arrange behavior of Total Commander + Everything in future updates, i.e. Everything will recognise backslashing of "!" in normal mode (imho, unrecognizing of a backslashed operator as a simbol is kind of a bug) and Total Commander will backslash "!" to Everything.
Mmhh, I think I don't understand.
Below are a few more examples with results without TC hanging.
Filenames: !abc.jpg, !abc_Kopie.jpg
Filenames: !abc, !abc_Kopie
Filenames: zzz!abc.jpg, zzz!abc_Kopie.jpg
Below are a few more examples with results without TC hanging.
Filenames: !abc.jpg, !abc_Kopie.jpg
Code: Select all
ed:"!abc" ............................... finds !abc.JPG AND !abc_Kopie.JPG
ed:"!abc" !abc_Kopie.jpg ................ finds !abc.JPG NOT !abc_Kopie.JPG
Code: Select all
ed:"!abc" ............................... finds !abc AND !abc_Kopie
ed:"!abc" !abc_Kopie .................... finds !abc.JPG NOT !abc_Kopie
Code: Select all
ed:"!abc" ............................... finds zzz!abc.jpg AND zzz!abc_Kopie.jpg
ed:"zzz!abc.jpg" ........................ finds zzz!abc.jpg
ed:!zzz!abc_Kopie.jpg .................. finds *.* but NOT zzz!abc_Kopie.jpg
ed:"zzz!abc.jpg" !zzz!abc_Kopie.jpg ..... finds zzz!abc.jpg but NOT zzz!abc_Kopie.jpg
ed:!abc ................................. finds *.* NOT zzz!abc.jpg, zzz!abc_Kopie.jpg
ed:"!" .................................. finds zzz!abc.jpg AND zzz!abc_Kopie.jpg
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Using \! at the start seems to work for me, I will add it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC does filter the results received from Everything with its own search function (unless you use the ev: or ed: prefix), so this shouldn't be a problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in Total Commander 9.10 RC1, please test!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Seems fixed - In TC 9.10rc1 just searching for: !abc (no ev: or ed: parameter) with 'Everything' enabled does find !abc wich it didn't before 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Strange, on my computer it still does not work. Find result is just empty. I tested 32- and 64-bit versions, with clean INI. If "Everything" option is ticked — "No files found". Unticked — the file or dir I searched is displayed. Using Everything itself I also can find those names correctly.
Win7 x64, TC 9.10rc1.
Win7 x64, TC 9.10rc1.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64