To specify a search in File Explorer that returns only files (excluding folders), you can use the following method:
- Use the
NOToperator: You can specify that you do not want folders by using theNOTkeyword. - Use the
kindoperator: You can combine thekindoperator with theNOToperator to filter out folders.
Here's the search query:
kind:NOT folderThis query tells File Explorer to show all items that are not folders, effectively displaying only files.
If you want to refine your search further, you can add additional criteria. For example, if you're looking for all files of a specific type (e.g., documents or images), you can combine the kind operator with specific types:
kind:NOT folder kind:documentOr, for all non-folder items without specifying a type:
kind:NOT folderThis should help you find only the files you are looking for in File Explorer.









