How to use szExclusionFilter?

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
aml
Member
Member
Posts: 41
Joined: 2012 Sep 18, 08:24

How to use szExclusionFilter?

Post by aml » 2020 Apr 11, 18:40

In https://www.zabkat.com/changes.txt you state,

* [P] A registry setting (szExclusionFilter) defines a global exclusion filter for views and tree, hiding matching files and folders. It is a layout-specific setting, defined as a comma separated list of wildcards to EXCLUDE from view (alternatively it can be a saved hyperfilter name as those in FIND FILES dialog). When active, the hidden files statusbar icon will show as a reminder. Only relatively fast file properties can be used in the exclusion filter.

In https://www.zabkat.com/blog/xplorer2-v4 ... filter.htm you state,

A new registry tweak called szExclusionFilter sets a global exclusion filter, extending the hidden file attribute to other files and folders.

There is also a video, but which does not treat this matter.

I know how to alter the Windows registry, but where and how would I use that szExclusionFilter key there, could you please give the parent key of the key szExclusionFilter, and the value of the key, let's say I want to exclude/hide

a) just the file extension .abc
b) two such extensions, .abc and .def

(I know I can also, manually, put -.abc into the Filter field, every time I run the program, but doing it by default would be so much better indeed.)

Thank you!

User avatar
nikos
Site Admin
Site Admin
Posts: 14651
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: How to use szExclusionFilter?

Post by nikos » 2020 Apr 11, 19:01

you don't need to edit the registry, just use TOOLS > ADVANCED SETTINGS menu command and enter your comma separated list of wildcards as such

http://1drv.ms/u/s!ArTl8freK0gtki392xqL2-5iVT3X

for more complicated filters, define a "search rule" e.g. with CTRL+F dialog, save it with a name, then supply this name in the above highlighted box

aml
Member
Member
Posts: 41
Joined: 2012 Sep 18, 08:24

Re: How to use szExclusionFilter?

Post by aml » 2020 Apr 12, 08:31

This works fine and both with .abc and *.abc, as in your screenshot. It's very useful to hide backup files which some programs write into the same folder for example.

Thank you very much!

User avatar
nikos
Site Admin
Site Admin
Posts: 14651
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: How to use szExclusionFilter?

Post by nikos » 2020 Apr 12, 11:11

just keep in mind that this filter cannot be disabled, unless you use another layout that doesn't have a background filter

Post Reply