Configuring everything from the command line

Discussion related to "Everything" 1.5.
Post Reply
shodan
Posts: 40
Joined: Wed Mar 17, 2021 8:40 am

Configuring everything from the command line

Post by shodan »

Hello,

I am making an automatic windows installer because it is always a big chore to refresh my computer

With regards to everything I install it unattended with

Code: Select all

start /b /wait "" "Everything-1.5.0.1396a.x64-Setup.exe" /S
And after that I have a few things I want to setup

Bind ESC to close tab

Code: Select all

powershell -command "(Get-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\") -replace '^show_window_key=0$', 'show_window_key=370' | Set-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\""
Enable omit results

Code: Select all

powershell -command "(Get-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\") -replace '^show_window_key=0$', 'show_window_key=370' | Set-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\""
Open everything with CTRL+F3

Code: Select all

powershell -command "(Get-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\") -replace '^show_window_key=0$', 'show_window_key=370' | Set-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\""
Single click to open from systray

Code: Select all

powershell -command "(Get-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\") -replace '^single_click_open=0$', 'single_click_open=1' | Set-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\""
Always on top while searching

Code: Select all

powershell -command "(Get-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\") -replace '^on_top=0$', 'on_top=2' | Set-Content \"$env:USERPROFILE\AppData\Roaming\Everything\Everything-1.5a.ini\""

However there are 3 more things I am not able to figure out how to do from the command line
They are

general -> es:URL protocol
general -> show Everything context menu
general -> EFU file association

Is there a way to enable these from the command line ?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Configuring everything from the command line

Post by void »

Is there a way to enable these from the command line ?
Use the various installation command line options.

These command-line options will return immediately and will not show an Everything search window.

admin privileges are required for 1.5.0.1396a and earlier.
admin privileges are not required for 1.5.0.1397a and later.



general -> es:URL protocol

Code: Select all

C:\Program Files\Everything-1.5a\Everything.exe -install-url-protocol
-install-url-protocol


general -> show Everything context menu

Code: Select all

C:\Program Files\Everything-1.5a\Everything.exe -install-folder-context-menu
-install-folder-context-menu


general -> EFU file association

Code: Select all

C:\Program Files\Everything-1.5a\Everything.exe -install-efu-association
-install-efu-association



Combined:

Code: Select all

C:\Program Files\Everything-1.5a\Everything.exe -install-url-protocol -install-folder-context-menu -install-efu-association
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Configuring everything from the command line

Post by void »

You can also pass these options to your silent install:

Code: Select all

start /b /wait "" "Everything-1.5.0.1396a.x64-Setup.exe" /S -install-options "-install-url-protocol -install-folder-context-menu -install-efu-association"
-install-options
Post Reply