How not to display folders in search results

General discussion related to "Everything".
Post Reply
RBRAGUE
Posts: 2
Joined: Thu Jun 03, 2010 9:09 pm

How not to display folders in search results

Post by RBRAGUE »

Is there a quick/easy way to prevent folders from showing up in the search results? Appreciate any and all help !

Rick
Last edited by RBRAGUE on Fri Jun 12, 2020 5:47 pm, edited 2 times in total.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: HOW NOT TO DISPLAY FOLDERS IN THE RESULTS

Post by NotNull »

Could you please change your subject to make it less LOUD ?
RBRAGUE
Posts: 2
Joined: Thu Jun 03, 2010 9:09 pm

Re: HOW NOT TO DISPLAY FOLDERS IN THE RESULTS

Post by RBRAGUE »

Sorry will do right now
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How not to display folders in search results

Post by NotNull »

Thanks!!

To answer your question: Everything uses the exclamation mark (!) to exclude a folder (! stands for NOT). For example:

Code: Select all

ext:mp3  !C:\windows   !"C:\Program Files"
(the "" are needed when your path contains spaces)

More on the search syntax can be found here
joejoe
Posts: 4
Joined: Thu Nov 29, 2018 5:03 am

Re: How not to display folders in search results

Post by joejoe »

Just to add for anyone who did a search and found this thread doesn't answer their query: If you want to exclude the folders themselves from cluttering the search result, but not to exclude the folder contents, then type: !folder:
Post Reply