Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

EVERYTHING has to reindex after each reboot.

Apr
322
7
Any CD command after a machine (re)start always fails with "Path not found." I run EVERYTHING /O and it reindexes automatically. Close EV and retry the CD command and it succeeds. I would like to reindex from TCStart e.g, so I tried EV /B but that doesn't work. Suggestions, anyone?
 
I have
Code:
if %@words[%@pid[everything.exe,+]] ne 2 et /e
in my tcstart.btm

This launches the Everything Dialog,
which is empty initially,
but populates after loading all the data.

I simply press Esc to close the dialog,
and continue on.

It's only necessary to run et /e once,
during boot,
which is why I check to see if everything is already running,
before I et /e

Code:
E:\Utils>tasklist /l/m everything
 4604      7442432  Everything        "C:\Program Files\JPSoft\TCMD32\Everything.exe" -svc
 1636    203517952  Everything        "C:\Program Files\JPSoft\TCMD32\EVERYTHING.EXE"  -nocase -now -nomat...

   Found 2 processes.

Probably not the best solution,
but it works for me.

ADDED:
Code:
E:\Utils>which et 
et is an alias : everything

Joe
 
Thanks Joe.

I believe you're saying that you automatically open the Everything.exe from your TCStart and only if it is it's first run. But still, why is displaying the gui necessary? Why doesn't /B do the job?

I too am starting the service at TC's (only) at first run. The option /B suggested to me that is should be possible to initialize the service but it seems it doesn't. Might this be a timing issue? If we can figure out why / what is not working as expected we can ask for a fix.

DJ
 
Displaying the GUI shouldn't be necessary. As long as the service is running (it's automatic by default) all you need to do is start the "client server". That only needs to be done once and it automatically re-indexes (fairly quickly). I start the "client server" like this, unelevated. If you do this when the "client server" is already running, it quietly does nothing.

Code:
d:\tc32\everything.exe -startup
 
d:\tc32\everything.exe -startup

You could do that using a shortcut in the StartUp folder. For me, that's here:

C:\Users\vefatica\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\

A question: Is there a user-friendly way to add things to the StartUp folder? I alway have to search for the folder (because I don't remember where it is) and manually put a shortcut there.
 
Last edited:
How about %@shfolder[7] ?
Thanks for that; I'll probably forget it by the time I need it.

Does TCC have a way to open an Explorer window there? explorer %@shfolder[7] does it but starts a new instance of Explorer and leaves it running (for a while). I use a SHELLEX plugin.

Code:
SHELLEX /L - list known folder names

SHELLEX shell:known_folder_name

SHELLEX [/D] [/C] [/V verb] [<file>] [<arguments> [<directory>]]

  /D          (debug) show parameter parsing without executing

  /C          use context menu

  /V verb     "print", "edit", "explore" et c.
              (with /C) "properties", "preview", et c.  Without "/V verb",
              the default verb is used if available, else "open" is used.

  <file> defaults to "shell:MyComputerFolder" and may specify
         a file, directory, drive, or URL

  <arguments> and <directory> apply to launching executables

  Quote parameters containing whitespace; escape necessary quotes as \"
 
I just use START. I have an alias s=start /pgm which I use to launch various things, including directories via Explorer. I can't say whether it starts a new instance, though.
 
I just use START. I have an alias s=start /pgm which I use to launch various things, including directories via Explorer. I can't say whether it starts a new instance, though.
Thanks again ... no new instance.
 
I set a directory alias.

alias Startup:=%AppData\Microsoft\Windows\Start Menu\Programs\Startup
 
In the help file under CDD,
it says
Code:
CDD - Change the current disk drive and directory                                                            
You can also CD to one of the predefined Windows shell folders. The syntax is:

CDD :foldername

where foldername can be:

Startup

thus;
Code:
R:\>cdd :startup

C:\...\Startup>echo %_cwd
C:\Users\jlcav\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

C:\...\Startup>

Joe
 
If you want to know where :startup is located,
without changing to the :startup folder
Code:
C:\...\Startup>echo %@truename[:startup] 
C:\Users\jlcav\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Joe
 
If you don't want to refer to the help file for the folder name,
Code:
cdd /=
displays the folder names in a dialog for you;

1724004304916.webp

Joe
 
Omdat EVERYTHING iets is dat ik alleen gebruik in de context van TC, wil ik de opdracht uitvoeren om de indices opnieuw te indexeren vanuit TCStart. Als ik dat doe, hangt EVERYTHING.exe of gaat niet terug naar batchverwerking. Een tweede run lukt wel. Dat lijkt,.. onbedoeld gedrag?

Why doesn't TC check the configuration-file and - if enabled - silently reindex?
 
Back
Top