This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Incorrect "!" transfer to Everything
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
vassapup
Junior Member
Junior Member


Joined: 12 Feb 2015
Posts: 13

PostPosted: Thu Oct 05, 2017 6:53 pm    Post subject: Incorrect "!" transfer to Everything Reply with quote

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.
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7425
Location: Valsted, Denmark

PostPosted: Thu Oct 05, 2017 9:34 pm    Post subject: Reply with quote

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.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b12 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vassapup
Junior Member
Junior Member


Joined: 12 Feb 2015
Posts: 13

PostPosted: Thu Oct 05, 2017 10:00 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7425
Location: Valsted, Denmark

PostPosted: Thu Oct 05, 2017 10:03 pm    Post subject: Reply with quote

All my NTFS drives only holds around 300.000 files all together
_________________
#524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b12 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34906
Location: Switzerland

PostPosted: Fri Oct 06, 2017 3:46 am    Post subject: Reply with quote

So what would be the correct syntax to find a name starting with ! character?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tuska
Power Member
Power Member


Joined: 21 May 2007
Posts: 976

PostPosted: Fri Oct 06, 2017 4:39 am    Post subject: Reply with quote

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:
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:
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 Fri Oct 06, 2017 6:44 am; edited 1 time in total
Back to top
View user's profile Send private message
vassapup
Junior Member
Junior Member


Joined: 12 Feb 2015
Posts: 13

PostPosted: Fri Oct 06, 2017 6:43 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
tuska
Power Member
Power Member


Joined: 21 May 2007
Posts: 976

PostPosted: Fri Oct 06, 2017 7:41 am    Post subject: Reply with quote

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:
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:
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:
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
Back to top
View user's profile Send private message
jberry910
Junior Member
Junior Member


Joined: 07 Feb 2010
Posts: 16
Location: Illinois, USA

PostPosted: Fri Oct 06, 2017 10:16 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34906
Location: Switzerland

PostPosted: Sun Oct 08, 2017 5:02 am    Post subject: Reply with quote

Using \! at the start seems to work for me, I will add it.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vassapup
Junior Member
Junior Member


Joined: 12 Feb 2015
Posts: 13

PostPosted: Sun Oct 08, 2017 8:36 am    Post subject: Reply with quote

It also returns files with "!abs" in full path. But it would be not TC bug.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34906
Location: Switzerland

PostPosted: Mon Oct 09, 2017 6:42 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34906
Location: Switzerland

PostPosted: Tue Oct 10, 2017 3:35 am    Post subject: Reply with quote

This should be fixed in Total Commander 9.10 RC1, please test!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7425
Location: Valsted, Denmark

PostPosted: Tue Oct 10, 2017 12:20 pm    Post subject: Reply with quote

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 Smile
_________________
#524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b12 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3130
Location: Moscow, Russia

PostPosted: Wed Oct 11, 2017 6:23 am    Post subject: Reply with quote

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, other stuff!
 
Using TC 9.12 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group