Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Here's another dumb question.

Is there a way to search in windows explorer for just folders?

I know folders get sorted to the top, but I'm always looking for that extra option...

share|improve this question

6 Answers 6

up vote 2 down vote accepted

In the Windows Explorer search pane make sure that More Advanced Options is expanded (not all versions of Windows require you to explicitly expand this).

Find the drop down marked Type Of File (it's normally the first advanced option), and choose Folder.

Your search results will now only include folders.

Edit: If you've got the dog "helping" you search, then you're in the basic search dialog and the above instructions might be wrong. The Type of File option likely exists here (you'll just have to look for it), but you're probably best of switching to "classic" search anyway.

share|improve this answer
    
I guess that's for XP? I'm on Vista here. Bog I hate Vista. –  MathewC Jun 16 '09 at 16:41
    
I gave you the check since everyone else wanted to use command line. I couldn't check your answer since I don't have XP. Thanks for actually reading the question though. –  MathewC Jun 30 '09 at 13:59
    
Unfortunately every version of Windows after 2000 seems to find a new way to gimp the search function in Explorer. It started out with find text in file not really working on all file types and has rapidly gone down hill from there. It would be nice if Windows 7 offered a true Windows 2000 search, even if it had to be manually turned on in an advanced menu or even a registry setting. Your best bet would probably be to Google a tutorial on restoring "classic" search - I believe I've seen some methods for transplanting it from the older explorer.exe, but have never tried it myself. –  David Jul 1 '09 at 1:29

In Windows 7 (might be the same in vista), add the following to the search:

type:"file folder"

eg: searchterm type:"file folder"

share|improve this answer
    
It really irritates me that Windows doesn't have a GUI to do this. Don't get me wrong. I love command line, on linux. –  MathewC Apr 27 '11 at 11:05

To expand on Eppz's suggestion, to search for a folder called "tem*" (I've included a wildcard just as an example) somewhere on the C: partition use:

dir /s /d c:\tem*

JR

share|improve this answer

Some of the items on this page work in Windows 7, even though they are marked as "deprecated". So to search for folders X:

X kind:folder 

You'll notice that when you type kind: into the Windows 7 search box in windws explorer (the one at the right hand side, not the "address bar") you will see a list of the various "kinds"

And say you wanted to search for folders which started with a "." (dotfiles / dotfolders) (like those pesky .svn folders):

kind:folder filename:.svn
share|improve this answer

If you use the command prompt you can always do

dir /d
share|improve this answer

At command prompt just "cd" to your path and then use the command bellow. Beware, this search is case sensitive.

dir /d | find "name"

share|improve this answer

Your Answer

 
discard

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.