command line options auto

General discussion related to "Everything".
Post Reply
trotroyanas
Posts: 2
Joined: Tue Jul 14, 2020 4:19 pm

command line options auto

Post by trotroyanas » Tue Jul 14, 2020 4:23 pm

Hi,
i want use this command options for all search
i want use only es Mysearch and add options

how can i do ?.
i don't found options command line in everything.ini

this is my command line
es -size -dm -sizecolor 9 -dmcolor 6 -name -name-color 11 -path-column -path-color 1 MYSEARCH

NotNull
Posts: 2152
Joined: Wed May 24, 2017 9:22 pm

Re: command line options auto

Post by NotNull » Tue Jul 14, 2020 7:05 pm

Option 1:
ES has a -save-settings option.
This command will save your settings in ES.ini

Code: Select all

es.exe -size -dm -sizecolor 9 -dmcolor 6 -name -name-color 11 -path-column -path-color 1 -save-settings
From then on you can do ES.exe mysearch1 and ES.exe mysearch2
To remove these settings:
ES.exe -clear-settings
(or delete ES.ini)
ES /? For more info: https://www.voidtools.com/support/every ... interface/ or ES /?


Option 2:
Create a batchfile MySearch.cmd:

Code: Select all

es.exe -size -dm -sizecolor 9 -dmcolor 6 -name -name-color 11 -path-column -path-color 1 %*
Start with: mysearch mysearch1 or mysearch mysearch2

trotroyanas
Posts: 2
Joined: Tue Jul 14, 2020 4:19 pm

Re: command line options auto

Post by trotroyanas » Tue Jul 14, 2020 10:04 pm

You're the best :D

Post Reply