This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
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 Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2879
Location: Germany

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

Flint wrote:
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.

It works fine here with TC 9.10RC1 x86 and x64.
What version of Everything do you run ?
_________________
Windows 10 x64 Version 1803
April 2018 Update (OS Build 17134.81)
TC 9.20b4 x64 and x86
Back to top
View user's profile Send private message
Flint
Power Member
Power Member


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

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

1.4.1.877 x64, with service enabled.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20β3 / Win7 x32 & x64 SP1
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: 7684
Location: Valsted, Denmark

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

Hmm, strange - Still works fine here:
http://madsenworld.dk/tcmd/evsearch.png
http://madsenworld.dk/tcmd/evsettings.png

Everything version 1.4.1.877 (x64)
_________________
#524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b2 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: 3132
Location: Moscow, Russia

PostPosted: Wed Oct 11, 2017 7:14 am    Post subject: Reply with quote

My situation:
http://flint-inc.ru/Temp/tcbeta910/everything%21.png
http://flint-inc.ru/Temp/tcbeta910/everything%21-opts.png

Tried:
* internal and external Find Files;
* searching just for !, and for !dir or !file.txt;
* searching from drive root or specific subdirectory.
Results are absolutely the same.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20β3 / Win7 x32 & x64 SP1
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: 7684
Location: Valsted, Denmark

PostPosted: Wed Oct 11, 2017 7:45 am    Post subject: Reply with quote

Maybe you need to force Everything to rebuild its database: Options -> Indexes -> Force Rebuild (button).
_________________
#524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b2 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: 3132
Location: Moscow, Russia

PostPosted: Wed Oct 11, 2017 8:16 am    Post subject: Reply with quote

Did that. No changes.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20β3 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2879
Location: Germany

PostPosted: Wed Oct 11, 2017 8:32 am    Post subject: Reply with quote

petermad wrote:
Maybe you need to force Everything to rebuild its database: Options -> Indexes -> Force Rebuild (button).

He said that in Everything itself the files are found.
So no problem with the database.
_________________
Windows 10 x64 Version 1803
April 2018 Update (OS Build 17134.81)
TC 9.20b4 x64 and x86
Back to top
View user's profile Send private message
Flint
Power Member
Power Member


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

PostPosted: Wed Oct 11, 2017 8:42 am    Post subject: Reply with quote

I found it.
Everything options -> Search -> Match path when a search term contains a path separator.
I had this option turned OFF. When I turn it ON, TC finds the files/dirs starting with "!".

BUT!
If I specify just the "!" as search, TC only finds items that start with exclamation mark, but not those that contain it inside (like "d!ir" or "f!ile"). I don't think backslash is actually the escape symbol here. I think it is treated like path separator, so that makes Everything stop treating it like NOT, and then it only finds paths that contain "\!" - that is, items that start with "!".
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20β3 / Win7 x32 & x64 SP1
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: 35487
Location: Switzerland

PostPosted: Wed Oct 11, 2017 3:35 pm    Post subject: Reply with quote

Unfortunately there is no better solution - there is no escape character in the Everything syntax. I could use a * instead, but it may cause other problems...
_________________
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
Flint
Power Member
Power Member


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

PostPosted: Wed Oct 11, 2017 4:32 pm    Post subject: Reply with quote

I'm not sure how the API works, but these methods work OK for me in the main Everything window:
* if I take phrase with exclamation mark in quotes, or even just the exclamation mark itself, like
Code:
"!dir"
"!"dir

* using Regex option.

Is it possible for TC to pass a regex into Everything? If yes that I'd suggest that TC transforms the search phrase by escaping all regexp meta-characters (e.g. "C# vs. C++.pdf" -> "C# vs\. C\+\+\.pdf"), and send this expression to Everything as regexp, it should be the safest way. If not, it's worth a try to quote the exclamation marks like in the examples given above, instead of adding backslash.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20β3 / Win7 x32 & x64 SP1
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: 35487
Location: Switzerland

PostPosted: Thu Oct 12, 2017 3:49 am    Post subject: Reply with quote

"!"dir seems to be the best solution so far!
_________________
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: 35487
Location: Switzerland

PostPosted: Mon Oct 16, 2017 6:52 am    Post subject: Reply with quote

OK, I'm now sending
"!"dir
to Everything when the user searches for
!dir
which should find these names:
!dir
!dir.txt
other!dir.txt
etc.
_________________
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: 7684
Location: Valsted, Denmark

PostPosted: Mon Oct 16, 2017 11:46 am    Post subject: Reply with quote

Confirmed that it works as described in TC 9.10rc2 Smile
_________________
#524
Danish Total Commander Translator
TC 9.12 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b2 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
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 Previous  1, 2
Page 2 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


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group