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
Show Folders only, but exclude specific folders (and specific files)
Re: Show Folders only, but exclude specific folders (and specific files)
Include the following in your search:search within folders on multiple drives (D:\Folder1, E:\Folder2, F:\Folder3, etc.)
"D:\folder1\" | "E:\Folder2\" | "F:\Folder3\"
Double quotes (") are only needed if the path has a space.
| = OR
Subfolders are automatically included.then display the sub folders within abovementioned folders only
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:
Include the following in your search:but exclude sub folders named like SWE, DAN, NED, CAS, BACKUP (etc.)
!\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>
Include the following in your search:also exclude files like png,txt,jpg,xml, etc.
!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.