## Find your non-default INI settings

General discussion related to "Everything".
NotNull
Posts: 1282
Joined: Wed May 24, 2017 9:22 pm

### Find your non-default INI settings

I do quite some experimenting with Everything lately and although I use separate "Everything's" for that, I mess up the settings all the time (leading to unpredictable results)

So I wrote a little script to find which settings differ from the default.
That default INI file was created by starting a fresh Everything (without an Everything.ini) and quitting that right away (no custom settings..)

Here's what the output looks like:
2017-07-13 18_58_00-Windows PowerShell.png

"Installation" instructions:
[*] Put the containg files (DeltaINI.ps1 and DEFAULT.INI) in some folder
[*] Start Powershell and navigate to that folder
[*] Enter command:

Code: Select all

 .\DeltaINI.ps1 <path\to\Everything.ini>

[*] Output similar to that in the screenshot will be shown.

That's all ....

Some remarks:
[*] The Default.ini is based on Everything 1.4 and is included in the zip file, so you don't have to create it yourself.
A future version of Everything will probably have different INI stetings and then you will have to create your own DEFAULT.INI
[*] If you want to save the results to a file (say Output.txt) you can do so by issuing the following command:

Code: Select all

 .\DeltaINI.ps1 <path\to\Everything.ini> | Out-File "output.txt"

You do not have the required permissions to view the files attached to this post.

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

### Re: Find your non-default INI settings

The easiest way to create your own DEFAULT.INI (that I know of):

[*] Copy Everything.exe to a folder (without the INI and DB)
[*] Close running Everything ('s)
[*] Run this command (in CMD, in Powershell or through a shortcut):

Code: Select all

Everything.exe -quit

[*] Rename Everything.ini to DEFAULT.INI
[*] Delete the other files (.exe and .db)

BTW: Turns out the command line options are case sensitive.
-QUIT or -Quit won't work. -quit will.