wildcard exclusions for folders in everything.ini file

Have a suggestion for "Everything"? Please post it here.
Post Reply
jg00d3
Posts: 8
Joined: Mon Oct 17, 2016 7:31 pm

wildcard exclusions for folders in everything.ini file

Post by jg00d3 »

I'm using ES.exe in conjunction w/ everything.exe and have scripted out a search that runs on multiple machines in our environment. I'm using the same everything.ini on all machines as I'm looking for the same files on these multiple machines, have wildcards setup for the files to search and also for the files to exclude.

Is there anyway to use wildcards in the excluded folders section of the everything.ini file?

For example some machines have C: as their OS drive but some have D:. Some machines are 32bit and some are 64bit, so an exclude of *:\program files*\adobe would work across multiple machines vs putting in four entries for "c:\\program files\\adobe","d:\\program files\\adobe","c:\\program files (x86)\\adobe","d:\\program files\\adobe"

Our Antivirus application we use allows us to setup excluded folders like this. instead of * they use ? so the single folder exclusion for adobe would be ?:\\program files*\\adobe.

Is there a possibility of adding this feature?

jg00d3
void
Developer
Posts: 17157
Joined: Fri Oct 16, 2009 11:31 pm

Re: wildcard exclusions for folders in everything.ini file

Post by void »

Wildcards can be used in the exclude_folders filter:
exclude_folders="*:\\program files*\\Adobe"
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: wildcard exclusions for folders in everything.ini file

Post by harryray2 »

How does exclude folder work in everything.exe?

eg: If I want to search my c drive for a file namebut exclude the folder path c:\program files
void
Developer
Posts: 17157
Joined: Fri Oct 16, 2009 11:31 pm

Re: wildcard exclusions for folders in everything.ini file

Post by void »

To temporarily exclude C:\program files, include in your search:
!"c:\program files\"

! = NOT
Use double quotes to escape spaces.

To search only your c: drive, include in your search:
c:

To permanently exclude c:\program files from the Everything index:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab.
  • Click Add Folder....
  • Select c:\program files and click OK.
  • Click OK.
Post Reply