How do I search for all files containing an ampersand (&) in the filename without returning heaps of other unrelated filenames?
How do I search for all files containing an ampersand (&) in the filename without returning heaps of other unrelated filenames?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?dir "*&*"
That worked for my very limited testing - let me know if there are scenarios where that results in a false positive. -
Inappropriate?Great thanks for that Bruce, it works in a CMD window, but do you know if this is possible in Vista's search as opposed to in the command prompt? See image...
Cheers
Leo
I’m grateful
-
Inappropriate?Sorry, I don't know how to do that from the search box, or if it is even possible there. I'll ask around.
-
Inappropriate?I can see from the picture you're using Vista - do you know what version of Windows Search you are using?
-
Inappropriate?My colleagues at Microsoft (thanks, Jonas!) tell me you can do it from the search box like this:
name:~"*&*"
Loading Profile...



EMPLOYEE