Directory tree and Everything.

English support forum

Moderators: white, Hacker, petermad, Stefan2

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

Re: Directory tree and Everything.

Post by *tuska »

fenix_productions wrote: 2019-10-22, 19:09 UTC I had same trouble:
I tick "Everything" checkbox -> DirectoryTree becomes empty.

…but I have realised that TC was running as admin but Everything did not.
Once Everything is set as admin all works.
That explains a lot...
Do you have a treeinfoC.wc somewhere on your PC?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Re: Directory tree and Everything.

Post by *fenix_productions »

tuska wrote: 2019-10-22, 19:35 UTC Do you have a treeinfoC.wc somewhere on your PC?
Inside one of TC paths:
https://www.fenixproductions.pl/files/tc/tc950b2/dirtree.png
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

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

Re: Directory tree and Everything.

Post by *tuska »

fenix_productions wrote: 2019-10-22, 20:01 UTC
tuska wrote: 2019-10-22, 19:35 UTC Do you have a treeinfoC.wc somewhere on your PC?
Inside one of TC paths:
https://www.fenixproductions.pl/files/tc/tc950b2/dirtree.png
Thanks! :D

I played through everything again (ALT+F10, F2), searched with and without 'Everything' *) for treeinfoC.wc (hidden file).
On my PC this file for drive C: is not created (not in %COMMANDER_PATH% and nowhere else).

*) 'Everything' finds hidden files automatically.
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Re: Directory tree and Everything.

Post by *vdijken »

Why does Everything works for finding files and not for directories? And I use the service, not the exe. How can I make the sercive run as admin?
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Re: Directory tree and Everything.

Post by *vdijken »

When I stop the service; Alt-F10 works. Apparently the EXE passes the right data to TC and not the service!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Directory tree and Everything.

Post by *Horst.Epp »

vdijken wrote: 2019-10-23, 09:29 UTC When I stop the service; Alt-F10 works. Apparently the EXE passes the right data to TC and not the service!
The service never passes any data to TC or other tools,
its just there to index all files without need of Admin or enhanced rights in the GUI.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Directory tree and Everything.

Post by *tuska »

vdijken wrote: 2019-10-23, 09:29 UTC When I stop the service...
Meanwhile I suspect that was the reason why your test wasn't successful.
The 'Everything Service' must be started.
[If you checked only "Run as administrator" the 'Everything Service' is not available.]

In 'Everything' under menu "Tools" - "Options..." the following should be set:
☐ Run as administrator
☑ Everything Service

Maybe you want to repeat the test with these settings?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Directory tree and Everything.

Post by *ghisler(Author) »

You need to press F2 or rescan after ticking "Everything" checkbox.
Author of Total Commander
https://www.ghisler.com
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Re: Directory tree and Everything.

Post by *vdijken »

I found why it did not work. My settings in Everything are correct, but somehow Everything started as service and as program. I used autoruns64 from the sysinternals and unticketed the run registry. Now it works fine. But I wonder why Alt-F7 kept working and Alt-F10 does not work.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Directory tree and Everything.

Post by *tuska »

It looks like this to me now (Example):

Code: Select all

Starting point:
Everything (User)  <-> TC (User):  treeinfoI.wc non-existent.
---------------------------------------------------------------------------------------------------------------------------------
1. Everything (User)  <-> TC (User):  ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
2. Everything (User)  <-> TC (User):  ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

3. Everything (User)  <-> TC (Admin): ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
4. Everything (User)  <-> TC (Admin): ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' NOT possible, empty window, 
								   		    --> treeinfoI.wc deleted [OR not created]

5. Everything (Admin) <-> TC (User):  ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
6. Everything (Admin) <-> TC (User):  ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

7. Everything (Admin) <-> TC (Admin): ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
8. Everything (Admin) <-> TC (Admin): ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

---------------------------------------------------------
Everything (User):  With 'Everything Service' enabled.
Everything (Admin): Without 'Everything Service' enabled.
---------------------------------------------------------
This also explains why I didn't find the treeinfoC.wc (--> because I've always enabled Everything and pressed 'F2 re-scan tree').
Whenever 'Everything' is checked and 'F2 re-scan tree' is pressed, there is no file: treeinfo?.wc. *)

The key 'F2 re-scan tree' determines whether a treeinfo?.wc file is created or deleted.

*) If a file exists, e.g. treeinfoC.wc (creation without 'Everything' being checked!)
and then ALT+F10 ☑ 'Everything' ... 'F2 re-scan tree' is NOT pressed it remains and is not deleted.
Several tests have shown that with ALT+F10 ☑ 'Everything' the database is up-to-date(!) even in this case.

Point 4. is the point
- vdijken has described in his first post
- to which fenix_productions has already referred
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Directory tree and Everything.

Post by *Horst.Epp »

tuska wrote: 2019-10-25, 20:03 UTC It looks like this to me now (Example):

Code: Select all

Starting point:
Everything (User)  <-> TC (User):  treeinfoI.wc non-existent.
---------------------------------------------------------------------------------------------------------------------------------
1. Everything (User)  <-> TC (User):  ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
2. Everything (User)  <-> TC (User):  ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

3. Everything (User)  <-> TC (Admin): ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
4. Everything (User)  <-> TC (Admin): ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' NOT possible, empty window, 
								   		    --> treeinfoI.wc deleted [OR not created]

5. Everything (Admin) <-> TC (User):  ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
6. Everything (Admin) <-> TC (User):  ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

7. Everything (Admin) <-> TC (Admin): ALT + F10 ☐  'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc created
8. Everything (Admin) <-> TC (Admin): ALT + F10  ☑ 'Everything' --> 'F2 re-scan tree' possible, --> treeinfoI.wc deleted

---------------------------------------------------------
Everything (User):  With 'Everything Service' enabled.
Everything (Admin): Without 'Everything Service' enabled.
---------------------------------------------------------
This also explains why I didn't find the treeinfoC.wc (--> because I've always enabled Everything and pressed 'F2 re-scan tree').
Whenever 'Everything' is checked and 'F2 re-scan tree' is pressed, there is no file: treeinfo?.wc. *)

The key 'F2 re-scan tree' determines whether a treeinfo?.wc file is created or deleted.

*) If a file exists, e.g. treeinfoC.wc (creation without 'Everything' being checked!)
and then ALT+F10 ☑ 'Everything' ... 'F2 re-scan tree' is NOT pressed it remains and is not deleted.
Several tests have shown that with ALT+F10 ☑ 'Everything' the database is up-to-date(!) even in this case.

Point 4. is the point
- vdijken has described in his first post
- to which fenix_productions has already referred
Problem with number 4 confirmed
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Directory tree and Everything.

Post by *ghisler(Author) »

TC receives reply from Everything via WM_COPYDATA. For security reasons, TC doesn't accept data from normal users when run as administrator. Therefore Everything running as normal user cannot send the results to TC. The problem is that any other program could send fake data to TC if I allowed it...
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Directory tree and Everything.

Post by *tuska »

Thanks for this information!

Then could a moderator please move this post to the forum "Total Commander (English)"?
Thank you!
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Directory tree and Everything.

Post by *Hacker »

[mod="Hacker"]Moved to the English forum.[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply