Searching for files that have brackets in the filenames

How does one search within a folder for files that include a "[" in their filename? For instance, when I want to search for all files that have "[a" in the filename, Windows 7 search ignores the bracket and instead returns all filenames that contain a word that begins with "A" instead. This has got me totally stumped. :confused:


Honorable Member
Can be done with Power Shell - found this on GeekHead

The -Filter parameter may work better there eg

Get-ChildItem -Filter *[* -Recurse

or with a specified 'start folder'

Get-ChildItem -Path "C:\" -Filter "*[*" -Recurse

Your wildcard pattern was bound to the -Path parameter, which as you
described, appears to require its criterion being satisfied every step of
the way.

Make sure you start it with admin rights if you want to search c drive...


I've been playing around with the Windows 7 search a bit more, and have noticed it doesn't seem to support searching by some other types of punctuation either. When searching for files that include an exclamation-mark in their filename, it ignores all filenames that do, in fact, have an exclamation-mark and instead states "No items match your search."

Thanks for the suggestion, Basher. Unfortunately I'm not a really tech-savy user as the PowerShell is a bit out of my league. I apologize if it sounds like I'm looking a gift horse in the mouth, but are there any other possible solutions out there? I've spent the past couple of hours searching on Google for a solution and haven't found anything. :(


Honorable Member
No problem m8 - just takes me back to the days of DOS having to type in a command :p


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.