No results for !folder:attrib:

Discussion related to "Everything" 1.5.
Post Reply
fanofvoid
Posts: 15
Joined: Tue Mar 24, 2026 6:05 am

No results for !folder:attrib:

Post by fanofvoid »

Previously using [1404] I had created a filter to hide system and hidden files and folders:

Search:

Code: Select all

!ancestor-attr:H !ancestor-attr:S !folder:attrib:h !folder:attrib:s !attrib:h !attrib:s
Updated to [1407] and the filter gives no results. The !folder:attrib: term is causing the problem.

Search results for the following criteria are as follows:

Code: Select all

folder:attrib:h | folder:attrib:s
3914 Results

Code: Select all

folder:attrib:h
2735 Results

Code: Select all

folder:attrib:s
3914 Results

Code: Select all

!folder:attrib:s
0 Results

Code: Select all

!folder:attrib:h
0 Results

I see in this post there's been some issues/changes surrounding ancestor/sibling/child that may have something to do with it, but doesn't make sense that !folder:attrib is affected.
viewtopic.php?p=79393#p79393

Anyways, if there is something I'm misunderstanding would appreciate the help. Thanks
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: No results for !folder:attrib:

Post by therube »

!folder:
says to exclude folders (entirely) (so i guess that leaves you with files)

attrib:h
says to find files or folders that have the hidden attribute set

!attrib:h
should take care of your, "to hide ... hidden files and folders"

!attrib:h;s
should take care of your, "to hide system and hidden files and folders"
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: No results for !folder:attrib:

Post by void »

Something is up with the NOT operator (!)

I am unable to reproduce the issue here.

Could you please send some debug output:
  • In Everything, clear you search.
  • From the Tools menu, under the Debug submenu, click Start Debug Logging.
  • Change your search to:
    !folder:attrib:h
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    --This will open your %TEMP%\Everything Debug Log.txt in your text editor.
  • Could you please upload this file in a bug report.
fanofvoid
Posts: 15
Joined: Tue Mar 24, 2026 6:05 am

Re: No results for !folder:attrib:

Post by fanofvoid »

Bug report sent
fanofvoid
Posts: 15
Joined: Tue Mar 24, 2026 6:05 am

Re: No results for !folder:attrib:

Post by fanofvoid »

therube wrote: Tue Mar 24, 2026 6:27 pm !folder:
says to exclude folders (entirely) (so i guess that leaves you with files)
attrib:h
says to find files or folders that have the hidden attribute set
!attrib:h
should take care of your, "to hide ... hidden files and folders"
!attrib:h;s
should take care of your, "to hide system and hidden files and folders"
belt + suspenders + sewn to jacket :D

not sure how i arrived at the string of operators but I was obviously trying to get rid of anything hidden or system related. I recall having issues with hidden/system results leaking thru if it didn't have the specificity. My entire filter reads:

!ancestor-attr:h
!ancestor-attr:s
!folder:attrib:h
!folder:attrib:s
!attrib:h
!attrib:s

I'm sure there are better ways to handle this and happy to hear them!
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: No results for !folder:attrib:

Post by void »

Thank you for the debug log.

Code: Select all

2026-03-26 08:36:58.128: search '!folder:attrib:h' filter '' sort 0 ascending 1
2026-03-26 08:36:58.128: expanded: nofiltercase:filterpath:nofilterwholeword:nofilterdiacritics:nofilterprefix:nofiltersuffix:nofilterignorepunctuation:nofilterignorewhitespace:nofilterregex:< online: > attrib:h
You have a filter macro that replaces
folder:
with
online:


This macro does not take any parameters
!folder:
and
attrib:h
are separated and treated independently.

I recommend removing this folder macro:
  • In Everything, from the Search menu, click Organize Filters....
  • Select the filter showing folder for the macro.
  • Click Edit....
  • Clear the macro and click OK.
  • Click OK.
-If there's no filter listed above with a folder macro, please also check your bookmarks:
  • In Everything, from the Bookmarks menu, click Organize Bookmarks....
  • Select the bookmark showing folder for the macro.
  • Click Edit....
  • Clear the macro and click OK.
  • Click OK.
fanofvoid
Posts: 15
Joined: Tue Mar 24, 2026 6:05 am

Re: No results for !folder:attrib:

Post by fanofvoid »

Screenshot 2026-03-26 204047.jpg
Screenshot 2026-03-26 204047.jpg (43.92 KiB) Viewed 955 times
Beautiful!

I was in the process of creating a filter for JumpToFolder and I left it unfinished a few days ago as a "placeholder". For some reason I created a macro "Folder" in that filter.

I was heading in this direction... From the JumpToFolder thread:
Known limitations
Off-line files and folders
When double-clicking a file/folder, a check is done if that file is accessible. When files are on an off-line USB-disk or off-line network folder, it can take some time before Windows will report this file to be unavailable.

Workaround is to create a JumpToFolder filter (see above) and add online: at the beginning of the Search field.
online: is only available in Everything 1.5.
Thanks for the help, and I'm glad you didn't have to chase a bug on your end.
Cheers..........
Post Reply