Incorrect "!" transfer to Everything

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

Moderators: Stefan2, white, sheep, Hacker

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

Incorrect "!" transfer to Everything

Post by *vassapup » 2017-10-06, 00:53 UTC

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: 7980
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-10-06, 03:34 UTC

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.
#524
Danish Total Commander Translator
TC 9.21rc3a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b3 on Android 6.0
Get Extended Total Commander Menus

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

Post by *vassapup » 2017-10-06, 04:00 UTC

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: 7980
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-10-06, 04:03 UTC

All my NTFS drives only holds around 300.000 files all together
#524
Danish Total Commander Translator
TC 9.21rc3a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b3 on Android 6.0
Get Extended Total Commander Menus

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-06, 09:46 UTC

So what would be the correct syntax to find a name starting with ! character?
Author of Total Commander
http://www.ghisler.com

User avatar
tuska
Power Member
Power Member
Posts: 1165
Joined: 2007-05-21, 12:17 UTC

Post by *tuska » 2017-10-06, 10:39 UTC

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 » 2017-10-06, 12:43 UTC

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: 1165
Joined: 2007-05-21, 12:17 UTC

Post by *tuska » 2017-10-06, 13:41 UTC

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: 19
Joined: 2010-02-08, 02:43 UTC
Location: Illinois, USA

Post by *jberry910 » 2017-10-06, 16:16 UTC

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: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-08, 11:02 UTC

Using \! at the start seems to work for me, I will add it.
Author of Total Commander
http://www.ghisler.com

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

Post by *vassapup » 2017-10-08, 14:36 UTC

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: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-09, 12:42 UTC

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
http://www.ghisler.com

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-10-10, 09:35 UTC

This should be fixed in Total Commander 9.10 RC1, please test!
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 7980
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-10-10, 18:20 UTC

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 :-)
#524
Danish Total Commander Translator
TC 9.21rc3a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b3 on Android 6.0
Get Extended Total Commander Menus

User avatar
Flint
Power Member
Power Member
Posts: 3159
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2017-10-11, 12:23 UTC

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 9.21rc1 / Win7 x64 SP1, Win10 x64

Post Reply