I have a question on windows advanced search, I am running Windows 8.1 pro. I want to exclude a particular file type from showing up in the search results and I tried following these instructions but I can't seem to get it to work. The exact search query I put in was:

size:<1024mb AND type:<>.rar

So I should be getting back all the files that are less than 1GB but are NOT .rar files. The website said <> means is not so I don't get why my query does not work. Any ideas?



To filter results by file extension you can use ext or fileext in English locales. For example:

size:<1024mb AND ext:<>.rar

The following query would work regardless of the installed locale:

System.Size:<1024mb AND System.FileExtension:<>.rar

Note While the syntax is not case-sensitive, you need to type the AND, OR, and NOT operators in all capital letters.

Further reading

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.