Is there a quick/easy way to prevent folders from showing up in the search results? Appreciate any and all help !
Rick
How not to display folders in search results
How not to display folders in search results
Last edited by RBRAGUE on Fri Jun 12, 2020 5:47 pm, edited 2 times in total.
Re: HOW NOT TO DISPLAY FOLDERS IN THE RESULTS
Could you please change your subject to make it less LOUD ?
Re: HOW NOT TO DISPLAY FOLDERS IN THE RESULTS
Sorry will do right now
Re: How not to display folders in search results
Thanks!!
To answer your question: Everything uses the exclamation mark (!) to exclude a folder (! stands for NOT). For example:
(the "" are needed when your path contains spaces)
More on the search syntax can be found here
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"
More on the search syntax can be found here
Re: How not to display folders in search results
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: