How do I search for files and exclude subfolders in Windows 7?
The Windows 7 search dropdown always searches within sub folders, but I only want to search the current folder. How can I do this?
Solution 1:
A way to do this (in Windows 7) is to discard all subfolders using -folder:
with \*
, for example (when searching for .zip files inside the downloads folder):
*.zip -folder:"Downloads\*"
That's all.
Solution 2:
to ignore folders
(not their contained files), then try:
System.Kind:<>folder