load settings from command line

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
redwood
Posts: 28
Joined: Sun May 02, 2021 2:32 pm

load settings from command line

Post by redwood »

hi, i use use a tool that grants TrustedInstaller privilege and wish to use it with everything.
NSudo -U:T -P:E "%ProgramFiles%\Everything\Everything.exe" -config "%APPDATA%\Everything\Everything.ini" -db "%localappdata%
\Everything\Everything.db"

How to load favorites and filter also stored in %appdata%\everything folder?
horst.epp
Posts: 1448
Joined: Fri Apr 04, 2014 3:24 pm

Re: load settings from command line

Post by horst.epp »

Everything doesn't need TrustedInstaller rights for any of its functions.
redwood
Posts: 28
Joined: Sun May 02, 2021 2:32 pm

Re: load settings from command line

Post by redwood »

my question is how to load settings stored in another location :)
horst.epp
Posts: 1448
Joined: Fri Apr 04, 2014 3:24 pm

Re: load settings from command line

Post by horst.epp »

Help for command line switches says
-config <filename>
The filename of the ini file.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: load settings from command line

Post by NotNull »

No time for details (no more time; sorry)

The CSV files for filters, hustory, etc are not searched in the location of the ini-file per se.

Maybe this helps a bit (for now).
redwood
Posts: 28
Joined: Sun May 02, 2021 2:32 pm

Re: load settings from command line

Post by redwood »

@NotNull>> I appreciate your reply, thank you
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: load settings from command line

Post by void »

Please make sure the Everything.ini in the same location as your Everything.exe has the app_data setting enabled:

Code: Select all

[Everything]
app_data=1

app_data
Post Reply