Show Folders only, but exclude specific folders (and specific files)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Show Folders only, but exclude specific folders (and specific files)

Post by eswul62 »

I would like to search and have following displayed

search within folders on multiple drives (D:\Folder1, E:\Folder2, F:\Folder3, etc.)
then display the sub folders within abovementioned folders only
but exclude sub folders named like SWE, DAN, NED, CAS, BACKUP (etc.)
also exclude files like png,txt,jpg,xml, etc.

Have vainly been puzzling on this quite a while...

Any suggestions?

thanks
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show Folders only, but exclude specific folders (and specific files)

Post by void »

search within folders on multiple drives (D:\Folder1, E:\Folder2, F:\Folder3, etc.)
Include the following in your search:
"D:\folder1\" | "E:\Folder2\" | "F:\Folder3\"

Double quotes (") are only needed if the path has a space.
| = OR


then display the sub folders within abovementioned folders only
Subfolders are automatically included.

I am not sure what you want here.
Could you please give an example?

If you want folders only (no files), include the following in your search:
folder:


but exclude sub folders named like SWE, DAN, NED, CAS, BACKUP (etc.)
Include the following in your search:
!\SWE\ !\DAN\ !\NED\ !\CAS\ !\BACKUP\

! = NOT

If you wish to exclude the folders themselves, include the following in your search:
!exact:folder:<SWE|DAN|NED|CAS|BACKUP>


also exclude files like png,txt,jpg,xml, etc.
Include the following in your search:
!ext:png;txt;jpg;xml

ext:



All searches combined:
"D:\folder1\" | "E:\Folder2\" | "F:\Folder3\" !\SWE\ !\DAN\ !\NED\ !\CAS\ !\BACKUP\ !exact:folder:<SWE|DAN|NED|CAS|BACKUP> !ext:png;txt;jpg;xml

If you find this search useful, consider adding a filter:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: My Folders
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
Post Reply