How to use "Everything" indexing utility with TC?

English support forum

Moderators: Stefan2, white, sheep, Hacker

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

Re: How to use "Everything" indexing utility with TC?

Post by *tuska » 2019-04-22, 20:28 UTC

For an additional Everything instance you only need 2 buttons in TC (see above).
You can change the name "PRIVATE" for the additional instance to any name (or just leave it as it is for testing purposes).

Press the 1st button only once to create these two files in the Everything directory:
Everything-PRIVATE.db
Everything-PRIVATE.ini

Press the 2nd button if you want to start the second Everything instance: "Everything (PRIVATE)".
The first Everything (main) instance with Everything Service must already be started(!)
DONE!

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

Re: How to use "Everything" indexing utility with TC?

Post by *petermad » 2019-04-22, 21:23 UTC

2spikey
ver I have Everything configured to use two instances. This is done so Everything can index one set of volumes when I launch one instance of the program. And it indexes another (huge offline set of files) when I launch the other instance.
To be able to understand your problem a little better:
Which of those two instances is it that you want TC to use? And what are their names? And which of them are you currently starting at system start?
Last edited by petermad on 2019-04-23, 19:55 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit, 'Everything' 1.4.1.935 (x64) and TC 3.0b3 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

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

Re: How to use "Everything" indexing utility with TC?

Post by *tuska » 2019-04-23, 15:24 UTC

tuska wrote:
2019-04-22, 20:28 UTC
For an additional Everything instance you only need 2 buttons in TC (see above).
You can change the name "PRIVATE" for the additional instance to any name (or just leave it as it is for testing purposes).

Press the 1st button *) only once to create these two files in the Everything directory:
Everything-PRIVATE.db
Everything-PRIVATE.ini
"Option 2: pre-configure INI"
I would also like to comment on Option 2 in relation to the example given above:

*) ATTENTION - Note for button 1:
Instead of using button 1, it is even recommended to duplicate Everything.ini (from the 1st instance) and
then rename the duplicate to Everything-PRIVATE.ini. This corresponds approximately to "Option 2: pre-configure INI"

Then change the line in Everything-PRIVATE.ini as follows:

Code: Select all

FROM: service_pipe_name=
TO:   service_pipe_name=\\.\PIPE\Everything Service
This ensures that all settings of the original/main instance are also available in the second instance -> Everything (PRIVATE).
Only then one should adjust the settings of the second instance if necessary.
ATTENTION: Use "Everything Service" -> DO NOT check in the second instance,
since the "Everything Service" is to be used by the main instance!

These files (from the 1st instance) should also be duplicated, if necessary **),
and then rename the duplicate for the 2nd instance:

Code: Select all

1st instance 		2nd instance 
-------------------------------------------------------
Bookmarks.csv		-> Bookmarks-PRIVATE.csv
Filters.csv		-> Filters-PRIVATE.csv
Everything.db		-> **) Everything-PRIVATE.db
Search History.csv	-> **) Search History-PRIVATE
Run History.csv		-> **) Run History-PRIVATE.csv
-------------------------------------------------------
This ensures that your bookmarks and filters, etc.**) are also available in the 2nd instance -> Everything (PRIVATE).

Should you then make any changes in an instance (no matter if 1st instance (main), 2nd instance, etc.)
please note that you have to manually redo these changes in other instances (under corresponding file names!)
if you want to have the changes in another instances as well.

This means that only one button in TC (-> example: Button 2) is required
for each additional Everything-Instance
when using Option 2.
Example: 3 buttons in TC with the following commands for 3 Everything instances:

Code: Select all

1st instance: C:\Tools\Everything\Everything.exe			(Main Instance! Everything + Everything Service is started with Windows!)
2nd instance: C:\Tools\Everything\Everything.exe -instance "PRIVATE" 	(Everything Service unchecked because used from main instance!)
3rd instance: C:\Tools\Everything\Everything.exe -instance "PRIVAT" 	(Everything Service unchecked because used from main instance!)
For this example variant (multiple Everything instances and only one Everything Service)
the integrated Everything search in TC is possible without problems.
In this way, you can easily create multiple Everything instances.

PS:
If several Everything instances are not used as shown in this example variant,
it may be that several "Everything Services" have been established.

This section describes how to get rid of system services that are no longer needed - deletion on your own responsibility(!):
- How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP
  https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/
- Sc delete
  https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sc-delete

Post Reply