Does -choose-volumes exit if .ini exists?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 5003
Joined: Thu Sep 03, 2009 6:48 pm

Does -choose-volumes exit if .ini exists?

Post by therube »

Does -choose-volumes exit if .ini exists?

go64.bat:

Code: Select all

Everything64.exe -instance 64 -choose-volumes
cmd /c start .\Everything64.exe -instance 64 -no-auto-include -no-db -filelist filelist.TXT
first Everything initiates .ini - but with no volumes selected (& exits)
second Everything fires up Everything "normally" (though a bit abnormally in this particular case)

anyhow, is this "safe", as in if i were to leave the .bat file as is,
Everything actually /runs/, twice, but otherwise causes no harm

first, which is not needed - except for the very first initiation (but anyhow)
& on finding an existing .ini, simply exits, immediately (having done nothing)

& second "runs" as expected


Is my understanding correct?
void
Developer
Posts: 16899
Joined: Fri Oct 16, 2009 11:31 pm

Re: Does -choose-volumes exit if .ini exists?

Post by void »

-choose-volumes will update your Everything.ini and return immediately.

Your calls will run as expected.

Optionally, remove the first call:
Everything64.exe -instance 64 -choose-volumes

and just use the -no-auto-include option in your second call, as you are already doing.

-choose-volumes is an "installation" command line option.
(I should have named this -install-choose-volumes )
Post Reply