Do exlcusion filter not work with label filters in quicksearch?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Do exlcusion filter not work with label filters in quicksearch?

Post by jaywalker32 »

Why does this search string not work?

This PC?lbl:"Red" /excl="L:\backup" /flat


It returns all files with color label "Red", even ones in the L:\backup folder. It's the same for normal searches as well. Is this a bug or am I doing something wrong? :?:

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Do exlcusion filter not work with label filters in quicksearch?

Post by jupe »

I asked the same sort of question here recently:

viewtopic.php?f=3&t=18438#p155961

I haven't received a reply yet from the developer, so I am not 100% sure, but my feeling is currently that /excl= doesn't work except for file search (labels & tag search don't seem to), You could use formatlist() with a filter as a workaround for the time being if you wanted, until we get a definitive answer on if its working as designed or if it is a bug, or if it can be implemented, unless someone more experienced knows for sure and replies.

Something like this could work, a bit longer to write but you may be interested as a temporary workaround:

Code: Select all

goto formatlist(quicksearch("lbl:Red", "This PC", ";"), "f", ";", "!L:\backup\*") . "?";

jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Re: Do exlcusion filter not work with label filters in quicksearch?

Post by jaywalker32 »

Thanks! That's actually quite useful and does the job. Also, I had no idea you could use "goto" with "formatlist" like that. That'll sure come in handy.

jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Re: Do exlcusion filter not work with label filters in quicksearch? [Update]

Post by jaywalker32 »

There was an update that supposedly fixed this issue:

Code: Select all

v18.70.0102 - 2018-02-21 19:35
    ! Find Files and Quick Search: Switch /excl was not honored by so-called
      "Fast Tag Search". Fixed. For example:
        ?lbl:Blues /excl=E:\Alabama\   //excludes any matches in E:\Alabama\

But it's still not working for me:

Code: Select all

This PC?lbl:Black /excl=g:\downloads\


This returns all files, even the ones in g:\downloads\

Can anyone else check if it's just me please?

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Do exlcusion filter not work with label filters in quicksearch?

Post by jupe »

Yeah it still doesn't seem to work for "This PC" but if you search a drive or folder it seems to work.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Do exlcusion filter not work with label filters in quicksearch?

Post by admin »

Ah, yes. Fix in next beta...

Post Reply