Page 1 of 1
Find Files: Funky/Unexpected Results
Posted: 13 Dec 2011 17:54
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.

Re: Find Files: Funky/Unexpected Results
Posted: 13 Dec 2011 18:15
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.
Re: Find Files: Funky/Unexpected Results
Posted: 13 Dec 2011 18:44
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.
Re: Find Files: Funky/Unexpected Results
Posted: 14 Dec 2011 08:31
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?
Re: Find Files: Funky/Unexpected Results
Posted: 11 Jan 2012 16:54
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.
Re: Find Files: Funky/Unexpected Results
Posted: 11 Jan 2012 17:37
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.
Re: Find Files: Funky/Unexpected Results
Posted: 11 Jan 2012 18:18
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.
Re: Find Files: Funky/Unexpected Results
Posted: 11 Jan 2012 22:26
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!