Find your non-default INI settings

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

Find your non-default INI settings

Post by NotNull »

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
2017-07-13 18_58_00-Windows PowerShell.png (14.38 KiB) Viewed 3101 times

"Installation" instructions:
[*] Download the zip-file
[*] 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"
Attachments
CompareINI.zip
(5.18 KiB) Downloaded 373 times
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Find your non-default INI settings

Post by NotNull »

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.
Post Reply