Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Searching for filenames containing ! (an exclamation mark ) on Windows

On Windows 7, the following query used in folder search boxes fails to filter the files in a folder that have a "!" exclamation mark in them.

filename:!

Is there any way of doing this search please? Thanks.

like image 531
AJP Avatar asked Apr 20 '12 11:04

AJP


People also ask

How do I search for special characters in Windows?

To access it on your Windows 10 system: Type “character” in your search field and then select the Character Map app. You'll get a pop-up map showing a bunch of special characters for a specific font. You can change the font by clicking on the drop-down font menu at the top.

How do I search for special characters in a file?

Type filename:*& to Explorer search field, this finds all files where the & character appears in the filename or file extension.

Why does my file have a red exclamation mark?

Those icons mean that the files need to be backed up. You can turn them off, if you want to.

What is the search for a file * symbol?

Answer. The * (asterisk) is a wild card that takes the place of any number of letters. Example: You know a file starts with the letter H. So type H* in the search box.


1 Answers

In your specific example filename:"*!*" seems to work in Win7 (Not sure about Vista)

Win7 search

I'd still recommend using 3rd-party tools like Agent Ransack, BareGrep or Everything if you need to search for files with weird names or the content of files not indexed by Windows. (On Win9x/NT5 you can type Win+F *.dll Tab CreateThread Enter and you will find all DLLs on all local drives that contain the string "CreateThread", doing the same on NT6 is impossible AFAIK!)

like image 86
Anders Avatar answered Sep 27 '22 01:09

Anders