Page 1 of 1

sc loadsearch - excluded directories

Posted: 29 Jan 2013 08:45
by highend
Loadsearch doesn't use excluded folders, that are stored inside the .ini file.

One test:
I go to "D:\Users\Highend\Tools"
This has many subfolders, one of them is "Chrome"
Most of the folders contain a <name>.bat file, Chrome too.

Strg + f
"Reset Filters"
Name: *.bat
Switch to "Excluded" tab
I delete all entries and add "*\chrome\*"

Menu - Edit - Search Templates...
I save this search as "test"

Now I do the normal search, dozens of entries, the Chrome folder was excluded, no entries from there.

Now I delete the "*\chrome\*" entry and use "Reset Filters" again.

Address bar: ::loadsearch "test";

The same entries but now with all .bat files, that are in the Chrome (or a subfolder) of it...

So: The loadsearch command only uses excluded entries, if they already exist in the "Excluded" tab, but not
the ones that are stored in your search template.

Re: sc loadsearch - excluded directories

Posted: 03 Feb 2013 20:41
by admin
You have to pass the "e" flag:

Code: Select all

::loadsearch "test", "rle";
RTFM:

Code: Select all

::rtfm "idh_scripting_comref.htm#idh_sc_loadsearch";
:mrgreen: