inconsistant restricted search results

Discussion related to "Everything" 1.5.
Post Reply
rgbigel
Posts: 50
Joined: Sun Apr 17, 2011 4:00 pm

inconsistant restricted search results

Post by rgbigel »

I know, this may be a bug in the third decimal place after the . However, howcome this works fine:

path:C:\program hardlinkcount:>1 !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft*
(shows many files, but also those in "\program files (x86)" , of course)

whereas this does not:

path:C:\program !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft* !hardlinkfilenames:"\program files (x86)\microsoft"
(shows nothing at all)

unfortunately, neither does do the trick:
path:C:\program hardlinkcount:>1 !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft**
path:C:\program hardlinkcount:>1 !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft***

Just for completeness:
I am using a filter "Junctions hardlink+count>1" which reads:
Search: hardlinkcount:>1 (nothing else)
Columns: (added) Hard Link Count; Hard Link File Names
The hardlinkcount-filter works (although it actually occurs twice, because I tried it without any filter as well, with identical error)
Last edited by rgbigel on Mon Nov 24, 2025 2:28 pm, edited 1 time in total.
rgbigel
Posts: 50
Joined: Sun Apr 17, 2011 4:00 pm

Re: inconsistant restricted search results

Post by rgbigel »

sorry, I gave the second line which does not work incorrectly, it should read:
path:C:\program !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft* !hardlinkfilenames:"\program files (x86)\microsoft"

only happend when writing the post, not in the real query
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: inconsistant restricted search results

Post by void »

I don't understand the issue, could you please send the results from:

path:C:\program hardlinkcount:>1 !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft*


What do you mean by "I know, this may be a bug in the third decimal place after the . However, howcome this works fine:"

What third decimal place? what . ?


whereas this does not:

path:C:\program !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft* !hardlinkfilenames:"\program files (x86)\microsoft"
(shows nothing at all)
What results are you expecting?
rgbigel
Posts: 50
Joined: Sun Apr 17, 2011 4:00 pm

Re: inconsistant restricted search results

Post by rgbigel »

Ok, the period is not a query, but my "funny" way of indicating that the bug described is rather minor.
What I am trying to do is find to find hard linked files only within the drive specified, but excluding these hardlinkfilenames pointing to: "windows" , "program files" and "program files (x86)". There are an awful lot of hardlinks in these, which j don't want to know about.

The query 1 given works fine (excluding the first two unwanted hardlinkfilenames, but showing roughly 4000 others), but adding the .. (x86) part reduces the result list to null, which is definitely unwanted. It should still show about 971 items, in my case.

I hope I got this description more clear now.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: inconsistant restricted search results

Post by therube »

I betcha it is quotes.
I wrote a little diatribe about quotes.
I've also made mention of single quotes.

See what this gets you:

Code: Select all

path:C:\program !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft*" !hardlinkfilenames:"\program files (x86)\microsoft"

quotes.bat, Quotes in a Batch file
File Name Quoting


And compare to:

Code: Select all

path:C:\program !hardlinkfilenames:\windows !hardlinkfilenames:"\program files\microsoft* !hardlinkfilenames:"\program files (x86)\microsoft"
Post Reply