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?
Do exlcusion filter not work with label filters in quicksearch?
-
- Posts: 205
- Joined: 27 May 2014 05:24
Re: Do exlcusion filter not work with label filters in quicksearch?
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:
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\*") . "?";
-
- Posts: 205
- Joined: 27 May 2014 05:24
Re: Do exlcusion filter not work with label filters in quicksearch?
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.
-
- Posts: 205
- Joined: 27 May 2014 05:24
Re: Do exlcusion filter not work with label filters in quicksearch? [Update]
There was an update that supposedly fixed this issue:
But it's still not working for me:
This returns all files, even the ones in g:\downloads\
Can anyone else check if it's just me please?
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?
Re: Do exlcusion filter not work with label filters in quicksearch?
Yeah it still doesn't seem to work for "This PC" but if you search a drive or folder it seems to work.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Do exlcusion filter not work with label filters in quicksearch?
Ah, yes. Fix in next beta...
FAQ | XY News RSS | XY Twitter