what if the user want to exclude a location?Location: Here you can state the location to be searched. Leave the field empty to always search the current location. Enter * (asterisk) to search the whole PC.
click and search: exclude location
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
click and search: exclude location
help file says:
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
Then he reads the next line and finds the link for all the supported search switches...
One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: click and search: exclude location
the /excl= switch doesn't work in location field so it is a wish


-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: click and search: exclude location
you're right but if the search pattern itself is a switch this won't work
maybe this is an excessive request so thank you anyways
maybe this is an excessive request so thank you anyways
Code: Select all
/types={:Video}-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
Mh?
Start dir: R:\test
Files:
R:\test\1\1.avi
R:\test\2\2.avi
R:\test\3\3.avi
Location for the search category: /excl=R:\test\2
Search pattern for the item: /types={:Video}
Result:
R:\test\1\1.avi
R:\test\3\3.avi
What am I missing here?
Start dir: R:\test
Files:
R:\test\1\1.avi
R:\test\2\2.avi
R:\test\3\3.avi
Location for the search category: /excl=R:\test\2
Search pattern for the item: /types={:Video}
Result:
R:\test\1\1.avi
R:\test\3\3.avi
What am I missing here?
One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: click and search: exclude location
try go to the drive root or my computer and perform the search because here it gives me all file types in the results


-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
Probably a bug, let's see what Don has to say...try go to the drive root or my computer and perform the search because here it gives me all file types in the results
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: click and search: exclude location
I cannot reproduce this when I click the "Video" item in the Catalog: Items are filtered by /types={:Video} as expected.
However, when I check the "Video" item in the Catalog then the /types switch is ignored. This might be unexpected at first sight, but it makes sense since this way a Boolean combination of all checked items in the category is used for the search, and individual item switches have to be ignored here.
So IMO it's alright as it is.
However, when I check the "Video" item in the Catalog then the /types switch is ignored. This might be unexpected at first sight, but it makes sense since this way a Boolean combination of all checked items in the category is used for the search, and individual item switches have to be ignored here.
So IMO it's alright as it is.
FAQ | XY News RSS | XY X
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
I can reproduce that behavior with the current beta
If the search category uses an /excl=<some path>
switch in the Location, than clicking (and not checking it)
on the item (with e.g. Pattern: /types={:Video})
leads to a result that includes everything, not only
the relevant types.
If the /excl=<some path> is removed from the category,
the quick search works as expected when clicked
If the search category uses an /excl=<some path>
switch in the Location, than clicking (and not checking it)
on the item (with e.g. Pattern: /types={:Video})
leads to a result that includes everything, not only
the relevant types.
If the /excl=<some path> is removed from the category,
the quick search works as expected when clicked
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: click and search: exclude location
Confirmed.
This is obviously done on purpose on the code (if the category has any switches, then drop any item switches), but unfortunately and untypically I did not make any comment on why I did it like this. :\
I will change it now.
This is obviously done on purpose on the code (if the category has any switches, then drop any item switches), but unfortunately and untypically I did not make any comment on why I did it like this. :\
I will change it now.
FAQ | XY News RSS | XY X
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: click and search: exclude location
Thanks, and I move the thread to "Bug reports"...
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club