Can everything run multiple command lines

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Can everything run multiple command lines

Post by vsub »

I want to stop the service and exit everything and the start the service and run everything

Autohotkey script

Code: Select all

RunWait,Everything.exe -stop-service
RunWait,Everything.exe -exit
RunWait,C:\Program Files\Tools\WinRAR\WinRAR.exe x X:\Everything-*.zip "%A_ScriptDir%\"
FileMove,Everything64.exe,Everything.exe,1
Run,Everything.exe -start-service
Run,Everything.exe
Also it is possible to do all that with cmd instead of using WinRaR and Autohotkey
I run this when I want to update everything

When I put the -exit after stopping the service,that does not close the process
And when I start the service,that does not start everything unless I add another command in AHK
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can everything run multiple command lines

Post by void »

Please try the following:

Code: Select all

Everything.exe -exit
ping -n 5 localhost >nul
Everything.exe -stop-service
C:\Program Files\Tools\WinRAR\WinRAR.exe x X:\Everything-*.zip "%A_ScriptDir%\"
move /Y Everything64.exe Everything.exe
Everything.exe -start-service
Everything.exe
I have added a delay after Everything.exe -exit because this call does not wait for Everything to exit (it only sends the request to exit).
Everything 1.5 will have a -wait option:
Everything.exe -exit -wait

Everything -stop-service stops the Everything Service and returns immediately.

Everything -start-service starts the Everything Service and returns immediately.
Another call is required to start Everything.
Post Reply