Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I cannot for the life of me figure out a way to have Windows 7 Explorer search for files with no extension. In XP it was nice and simple: just search for files named *. but in 7, that does not work and returns all files, as does ext:..

Searching has become extremely burdensome in Windows 7. Does anyone know how to perform this previously simple task?

share|improve this question
I'd like to see a solution with out having to resort to 3rd party apps, but this should do what you need. – skub Jan 15 '12 at 2:35
Might be a fix for Windows search – Moab Jan 15 '12 at 2:40
Windows Search isn't the most intuitive syntax. I'm curious about the history and development of Windows Search and where did it start. – surfasb Jan 15 '12 at 5:25
Re: Moab's link - > Files that don't have an extension (like "makefile") do not work well in Windows. Not true; XP had no problems with extensionless files, or even nameless files (eg `.htaccess'). Sure, Explorer was a bit tricky and the command-line was easier to use for these, but there were never any problems with the search function. – Synetech Jan 15 '12 at 6:50
> Windows Search isn't the most intuitive syntax. I'm curious about the history and development of Windows Search and where did it start. Probably a (messy) mix between wildcards, regex, competing with Google, and excessive drug-use. I wouldn’t be so mad if it were only Windows Search that were the problem, but in Win7, even the regular search function in Explorer is broken because they decided to replace Explorer’s search function with the broken Windows Search. :roll: I don’t know what’s worse; the ineffective/difficult new syntax, or that it always takes 100% CPU to do anything/nothing. – Synetech Jan 15 '12 at 6:52

3 Answers 3

up vote 6 down vote accepted

According to MSDN, the nothing character is []. So press F3 and enter ext:[].

share|improve this answer
That kind of, almost works. It returns file that indeed have no extension, but it also returns some files that are labeled as having no extension even though they contain one or more periods, as well as all folders, even ones that contain periods. Hmm, it looks like Windows 7 cannot even tell the type of files and/or correctly parse filenames/extension. (I like Win7 less and less every day.) – Synetech Jan 15 '12 at 7:01
Strange, files with multiple periods by definition have an extension and those files don't show up on my system. Folders have extensions also, so that isn't just for files. If you want just files you should add a filter:NOT kind:folder since it implicitly searches all object types, not just files. I can't help you with the Win 7 like/dislike. – surfasb Jan 15 '12 at 9:04

As @surfasb points out the [] can be used to represent 'nothing', and you can use it with the ext: filter.

You can then use that in combination with the type: filter and tell it to NOT show file folders:

ext:[] type:NOT"file folder"

share|improve this answer

I was facing this issue today on Windows 8 and have noticed it on previously on Windows 7 as well. I finally found a way to do this right and I hope this answer helps the original posters and others who come here via google searches.

Typically for normal as well as advanced power searches I used Nirsoft SearchMyFiles and stopped using Windows Search.

enter image description here

But, for some reason I was having trouble getting it to find files without any extensions. I figured the same bug was there in this app as well.

But, I was wrong and apparently Nir Softer has redesigned his wild card & regular expression engine from scratch; as per this little gem I found posted on the page in "Versions History" section:

  • Version 2.40:
    • SearchMyFiles now uses an internal wildcard parser instead of basing the search result on the wildcard parser of Windows. This change solves an annoying bug caused by Windows wildcard parser: In previous versions, SearchMyFiles sometimes returned incorrect results, because Windows also matches the wildcard with the short filename (8.3 DOS format).
    • Notice: The new wildcard parser may cause some compatibility issues, for example: When you scanned using . wildcard with Windows parser, it returned all files, including files without extension. With the new SearchMyFiles wildcard parser, . returns only files with extension. In order to return all files, you should use * instead of .
    • When loading old config files, SearchMyFiles automatically converts all . wildcards to *
    • The new wildcard parser has some advantages, for example: if you search for ..., you'll get all files with 3 dot characters or more. With Windows wildcard parser in previous versions, you simply got the list of all files.
    • You can now exclude files by using wildcards list. You have to select this option from the combo-box, because the default option is to exclude files by extension.
    • You can now specify environment strings in the 'Base Folders' and 'Excluded Folders' fields (For example: %AppData% )

So to find files without extensions don't use these:

*.* or *.

Just use a simple:


For example :

Files Wildcard: *
Subfolders Wildcard: *

Note: Please don't go by the wild cards shown in the 'old' screenshot posted above.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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