Is there a program or Windows Search trick to display a list of folders NOT containing a particular filemask? Specifically, I want to find all folders not containing a .exe file.

  • Including all subfolders? That is a pretty simple thing to code, I'm kind of amazed there's nothing on that front. Mar 28, 2015 at 7:26
  • Does it need to be a GUI tool? Or would a Powershell script be okay for your purposes?
    – gm2
    Mar 29, 2015 at 22:36
  • Definitely looking for a GUI tool. I could've written a script myself, but chose instead to seek out something I'd want to use long-term.
    – blackwind
    Mar 29, 2015 at 23:47

1 Answer 1


You can use the shareware XYplorer, which has a 30-day trial period. In version 14.80, it introduced the feature that you want:

Find Containing Folders. Now you can list all folders containing a certain file or file type, files of a certain size or age, or with certain other properties. You can as well list all folders NOT containing such files.

  • Seems to work. Accepting this answer for now, but if anyone finds a free tool specifically for this purpose (I don't need the thousands of other features in XYplorer and would never pay for it), I'm open to switching.
    – blackwind
    Mar 26, 2015 at 22:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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