I'm trying to figure it out how to do it
I want to search for a folder and its subfolder and see all the files but dont want to see the folders itself
I know how to exclude things from the search but didnt found out how to exclude folders from the search
How to hide folders from a search?
Re: How to hide folders from a search?
Prefix a folder search with the NOT operator: !
For example, to exclude C:\Program Files, search for:
!"c:\program files\"
For example, to exclude C:\Program Files, C:\Program Files (x86) and C:\windows search for:
!"c:\program files\" !"c:\program files (x86)\" !c:\windows\
For example, to exclude C:\Program Files, search for:
!"c:\program files\"
For example, to exclude C:\Program Files, C:\Program Files (x86) and C:\windows search for:
!"c:\program files\" !"c:\program files (x86)\" !c:\windows\
Re: How to hide folders from a search?
To exclude folder objects from appearing in the search results, use the syntax verb files:, or the negated !folders:.
Examples:
e:\media\ !folders:
files: C:\Users\
Last edited by raccoon on Tue Mar 15, 2022 3:27 am, edited 1 time in total.
Re: How to hide folders from a search?
Please include a trailing path separator (\) at the end of the path search.I want to search for a folder and its subfolder and see all the files but dont want to see the folders itself
For example:
"C:\Program Files\"
Without the trailing backslash (\), a search for "C:\Program Files" would match the "C:\Program Files" folder and possibly other folders such as "C:\Program Files 2" or "c:\program files (x86)".