Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

English support forum

Moderators: white, Hacker, petermad, Stefan2

NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *NotNull »

ghisler(Author) wrote: 2022-12-07, 10:31 UTC TC only supports search via Everything on entire drives or shares, not just subfolders.
ghisler(Author) wrote: 2022-12-07, 08:36 UTC TC sends Everything a request to check whether a certain drive is supported. For drives with drive letters, it sends:
?:
You can try this in the Everything application, it should list all indexed drives.
For a network folder, TC sends the following search:
\\* !\\*\*\*
Does this show your indexed folder?
I think a (much) better way is to send the following request to Everything: [c]root:[/c]
This will report all strating folders on local disks [1] as well as network folders.
(like: D: ; c:\windows ; C:\tools ; \\server\share\folder1\folder2\folder3\folder4\folder5 )
Then check if the path that has to be searched starts with one of those root-folders (+ trailing \ ).
If so: use Everything. If not, then don't.

The current \\* !\\*\*\* is more limiting than needed and desirable.



[1] On local (NTFS) volumes it is possible to just index a couple of folders and ignore all others (the Include only setting for a volume).
These will be reported as separate root folders).

TC (9.50 beta7) doesn't handle these cases correctly:
Indexing just c:\folder1 and c:\folder2 in Everything and searching for 'notepad' with starting path C:\ will not find notepad.exe in the Windows folder.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *ghisler(Author) »

I think a (much) better way is to send the following request to Everything: root:
Interesting, I didn't know about this search option.
Indexing just c:\folder1 and c:\folder2 in Everything and searching for 'notepad' with starting path C:\ will not find notepad.exe in the Windows folder.
What does the search for
?:
report in this case? If it reports c: then TC will assume that the entire c: was indexed.
Author of Total Commander
https://www.ghisler.com
NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *NotNull »

ghisler(Author) wrote: 2022-12-14, 08:43 UTC What does the search for
?:
report in this case?
It returns C:\folder1 and C:\folder2.
C: itself is not reported.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *ghisler(Author) »

That's odd - when I index a folder, then
root:
reports all drives plus that folder. But
?:
only reports entire drives.

Maybe it depends on the version of Everything? I'm using 1.4.1.
Author of Total Commander
https://www.ghisler.com
NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *NotNull »

ghisler(Author) wrote: 2022-12-14, 09:00 UTC That's odd - when I index a folder,
Using folder indexing or NTFS indexing?


https://ibb.co/9wFNGQB
(image will be deleted after 1 week)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *ghisler(Author) »

Folder indexing.

I now tried limiting NTFS indexing to just one folder (E:\test).
Then
root: reports all other drives plus E:\test but not E:
and
?: reports all other drives but not E:\test and not E:\ either
Author of Total Commander
https://www.ghisler.com
NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *NotNull »

That
ghisler(Author) wrote: 2022-12-14, 09:35 UTC ?: reports all other drives but not E:\test and not E:\ either
Most likely cause: Match whole filename when using wildcards is enabled.
(Menu:Tools > Options > Search)

?:* should report E:\test too.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Everything indexed shared folder, but TC does not utilise Everything on a shared drive search

Post by *ghisler(Author) »

I see, makes sense. I will use root: in the future, if only I had known about it before...
Author of Total Commander
https://www.ghisler.com
Post Reply