Windows 7 search allows to find specific files type and exclude some using some operators (such as AND OR NOT) but how to add multiple search condition on these following example?

Ex 1: this query doesn't work: type:folder size:tiny

EX 2: searching FOLDERS that doesn't contain an extensions with this query doesn't work either: type:folder NOT *.avi

Ex 3: thus, searching FOLDERS that doesn't contain this or this extensions could not work: type:folder NOT *.avi NOT *rar or type:folder NOT(*.avi *rar)

1 Answer 1


AND is what you want.

NOT *.jpg AND NOT *.rar AND NOT type:folder

will give you everything in a folder and subfolders that are not a jpg or rar and will also not show you the folders

  • 1
    For anyone arriving here looking for the answer on Windows 10, this answer should be altered to NOT *.jpg AND NOT *.rar AND NOT kind:folder Jan 26, 2021 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.