2

I'd like to search all files that are different from a specific extension. So, if I search files by using the string *.doc I'd like to see every files that are not .doc.

I also would like to hidden the sub-folders in the result display by using that search (but the search must of course search into sub-folders) :)

Is it possible this on Windows Vista/7?

SOLUTION

Finded the solution by using this string NOT *.doc AND NOT tipologia:=cartella

This for the italian version. English should be similar, somethings like NOT *.doc AND NOT kind:=folder

markzzz
  • 799

2 Answers2

5

You'd search for "NOT *.doc" (without quotes)

From here

NOT will search for all files not containing the search term in question.

The page also notes that operators AND, NOT and OR must be in capital letters, otherwise they will behave as just another search term.

northirid
  • 336
1

See Set Windows Search to not include sub-folders when typing in the search box.

The first option in "How to search" could thus be disabled:

enter image description here


A very quick light-weight search engine that allows you to search any way is Search Everything.

  1. C:\Path\To\Location\ !.doc

  2. Sort by path, the files not in the sub-folders are listed first.

Gareth
  • 19,080