Incorrect "!" transfer to Everything

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

vassapup
Junior Member
Junior Member
Posts: 13
Joined: 2015-02-12, 21:50 UTC

Incorrect "!" transfer to Everything

Post by *vassapup »

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.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
vassapup
Junior Member
Junior Member
Posts: 13
Joined: 2015-02-12, 21:50 UTC

Post by *vassapup »

It seems that Everything searches all the disks ( > 1 000 000 files for me). I got with "!" several times Everything and TC hang ups, (with need to restart Everything, because TC then says that the program is not ready and displays wait window progress).
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

All my NTFS drives only holds around 300.000 files all together
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

So what would be the correct syntax to find a name starting with ! character?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

ghisler(Author) wrote:So what would be the correct syntax to find a name starting with ! character?
Here are my findings (Attention to the * (asterisk)):

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
Filenames: !abc.jpg, !abc_Kopie.jpg

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
/EDIT: Wildcards (from Search Syntax Help)
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.
vassapup
Junior Member
Junior Member
Posts: 13
Joined: 2015-02-12, 21:50 UTC

Post by *vassapup »

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.
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Mmhh, I think I don't understand.
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
Filenames: !abc, !abc_Kopie

Code: Select all

ed:"!abc" ............................... finds !abc AND !abc_Kopie
ed:"!abc" !abc_Kopie .................... finds !abc.JPG NOT !abc_Kopie
Filenames: zzz!abc.jpg, zzz!abc_Kopie.jpg

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
jberry910
Junior Member
Junior Member
Posts: 25
Joined: 2010-02-08, 02:43 UTC
Location: Illinois, USA

Post by *jberry910 »

I can confirm that if I use ev:\! it will search all drives. My selection is a single drive only, but this searches all drives. Using ev:! results in no files found.

I cannot confirm that it TC is hung.

For me this is the same behavior in 9.10b3 and 9.0a
Joe
Central Illinois, USA
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Using \! at the start seems to work for me, I will add it.
Author of Total Commander
https://www.ghisler.com
vassapup
Junior Member
Junior Member
Posts: 13
Joined: 2015-02-12, 21:50 UTC

Post by *vassapup »

It also returns files with "!abs" in full path. But it would be not TC bug.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in Total Commander 9.10 RC1, please test!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

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.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
Post Reply