Find Files: Funky/Unexpected Results

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: 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%).

:info: 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.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Find Files: Funky/Unexpected Results

Post by Zardoz2293 »

I'm totally confused by the "Find Files" capability in XY. The GUI selection options/criteria should be intuitive with expected results however, this isn't the case. Let me give a simple example: Only the 'Name' filter active, 'Name & Location' = "*5*"; 'Location' = "G:\"; 'Include subfolders' = Checked. Result should return all files and folders with a '5' in their name for the entire volume, in this case 1,197 items. Great. Now, add the 'Excluded' filter and add "*5*" to excluded folders (checked). Result is 726 items. It says "Define folders to be excluded" so the result set should only be folders without a 5 in their name with all of the 5 files as the collection. However, this isn't the case, there are folders in the set that containing a "5" in their name. :x
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Find Files: Funky/Unexpected Results

Post by TheQwerty »

Given:
.\a5\a5.txt
.\b5\b5.txt
.\c5.txt

Searching '.' for '*5*' will result in:
.\a5
.\a5\a5.txt
.\b5
.\b5\b5.txt
.\c5.txt

If you add an exclusion of '*5*' you get:
.\a5
.\b5
.\c5.txt

Excluded folders only means do not search within these folders.
But if those folders happen to also be matching results they are still displayed.

So in the above '.\a5' and '.\b5' are returned as matches within '.' which wasn't excluded, but their contents are not explored.


It's confusing but I'm not sure it's really wrong - even though at times I've wanted the behavior you're expecting.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Find Files: Funky/Unexpected Results

Post by serendipity »

Hmmm something IS funny here.
tried this:
1) On desktop create new folder and name it "Parent".
2) Go inside "Parent" folder, create another folder and name it "Child".
3) While inside "Desktop/Parent", enter "Child" in the name field of "Name & Location" tab and enter Desktop/Parent in the "Excluded" tab. Hit Find now.
4) XY still finds the "Child" folder.

I know trying this is stupid, but in theory XY should not return anything.

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

Re: Find Files: Funky/Unexpected Results

Post by admin »

serendipity wrote:Hmmm something IS funny here.
tried this:
1) On desktop create new folder and name it "Parent".
2) Go inside "Parent" folder, create another folder and name it "Child".
3) While inside "Desktop/Parent", enter "Child" in the name field of "Name & Location" tab and enter Desktop/Parent in the "Excluded" tab. Hit Find now.
4) XY still finds the "Child" folder.

I know trying this is stupid, but in theory XY should not return anything.
This is by design and it is mentioned in the Help file:
Note: When you start your search from an excluded folder, this folder is not excluded.
I think this exception makes sense, doesn't it?

Speaker
Posts: 1
Joined: 11 Jan 2012 16:48

Re: Find Files: Funky/Unexpected Results

Post by Speaker »

I want to create an account on twitter using a funny twitter name. But i have no collection of funny twitter names. Please some body advice me some funny twitter names, Which can i use in my twitter account.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Find Files: Funky/Unexpected Results

Post by serendipity »

Speaker wrote:I want to create an account on twitter using a funny twitter name. But i have no collection of funny twitter names. Please some body advice me some funny twitter names, Which can i use in my twitter account.
A funny twitter name would be FunkyUnexpectedGuyonXY. Thanks for visiting XY and you are most welcome for the name suggestion.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Find Files: Funky/Unexpected Results

Post by serendipity »

admin wrote:
serendipity wrote:Hmmm something IS funny here.
tried this:
1) On desktop create new folder and name it "Parent".
2) Go inside "Parent" folder, create another folder and name it "Child".
3) While inside "Desktop/Parent", enter "Child" in the name field of "Name & Location" tab and enter Desktop/Parent in the "Excluded" tab. Hit Find now.
4) XY still finds the "Child" folder.

I know trying this is stupid, but in theory XY should not return anything.
This is by design and it is mentioned in the Help file:
Note: When you start your search from an excluded folder, this folder is not excluded.
I think this exception makes sense, doesn't it?
Sorry, I never got back to this. I just find it strange that this works this way. Although I am not against the logic here, especially when someone forgets to remove a folder from excluded folder list and cannot find something. Maybe good to leave it as it is until someone else complains.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Find Files: Funky/Unexpected Results

Post by PeterH »

I just can't find it strange, that, when explicitly searching in a folder, this folder is never excluded.

Else it should be forbidden by law and order to search in an excluded folder! Punished by at least one week prohibition of use of XY!

Post Reply