You need to make sure that the directories:
c:\Program Files (x86)
and
c:\Program Files
add to indexing files. By default, they are not.
Go to Control Panel --> Indexing
If you add this folder Win+Q works fine.
Install Windows Search 4. See Advanced Query Syntax
"match whole word only" query
WindowsSearch.exe /url search-ms:query="WindowsS"
Wildcard Prefix
WindowsSearch.exe /url search-ms:query="WindowsS"*
Type of content
WindowsSearch.exe /url search-ms:query="WindowsS"* kind:docs
Wildcard suffix
WindowsSearch.exe /url search-ms:query=*ation
Parenthesized query
WindowsSearch.exe /url search-ms:query=((fibonacci)OR(simplex))kind:docs
Far manager 2, command line WDS 4.
Extensions file types:
WindowsSearch.exe /url search-ms:query="unsigned short" ext:.h
Additional. After indexing 400k+ content files search query time ...
Need good query!
Size base of Windows.edb 1794Mb. Size folder Search 3135 Mb.
WindowsSearch.exe /url search-ms:query=((ext:.h)OR(ext:.cpp)OR(ext:.c)) "unsigned short"
WindowsSearch.exe /url search-ms:query=folder:("N:\Exchange\"*) ((ext:.h)OR(ext:.cpp)OR(ext:.c)) "unsigned short"
Best Answer
Findstr may fit if you are familiar with Windows command line, findstr is some kind of grep for Windows, and it comes with Windows starting version XP. Personally Im using bash for windows, and grep inside of that, but this is third party software, and do not comes with Windows by default. Example of findstr:
\s
searches for matching files in the current directory and all subdirectories2>nul
is to get rid of errors for files that you cannot open