Search for files with parenthesis in name

  • Thread starter =?ISO-8859-1?Q?Erik_Wikstr=F6m?=
  • Start date
?

=?ISO-8859-1?Q?Erik_Wikstr=F6m?=

How do I search for files who's name contains a parenthesis? Entering
(2) gives me all files containing 2 (which are a couple of houndred,
while there should only be two or three with (2) in the name) since the
parentheses have a special meaning when searching. Ive tried to use \ to
escape them but no luck.
 
M

Malke

Erik said:
How do I search for files who's name contains a parenthesis? Entering
(2) gives me all files containing 2 (which are a couple of houndred,
while there should only be two or three with (2) in the name) since the
parentheses have a special meaning when searching. Ive tried to use \ to
escape them but no luck.

What about enclosing the search in quotes, like "(2)"? Does that work?


Malke
 
B

Bob Hallsworth

If there are spaces around those, add them withing the quotes. Works for me!
" (2) "

Bob
 
?

=?ISO-8859-1?Q?Erik_Wikstr=F6m?=

If there are spaces around those, add them withing the quotes. Works
for me!
" (2) "

Nope, no such luck, but for some reason the number of files found was
about halved.
 
W

Wayne Hertz

Use XYplorer (or some other good explorer replacement) for searching and say
bye-bye to such problems.
 
G

Guest

It's crazy not to allow people to search for the parentheses. The problem
arose for me as a result of two failed file transfers. In both cases, the new
files were renamed with a (1) or (2) suffix. So I have thousands of these
extraneous files on my computer to get rid of. Or I could clean the hard disk
and do another file transfer, but it would be far simpler if I could simply
delete all files with a (1) or (2) suffix.

Oh, and I just tried installing XYplorer on my computer (solely to deal with
this issue). The program crashed.
 
A

Amir Deilami

Why the hell does everything new SUCK so bad?

"*(2)*" didn't work, " (2)" didn't work, nothing works.

Explorer is gone retarded. It can't see parenthesis, neither can distinguish _ and space.

Microsoft has lost their mind. I'm pissed off man...what the hell?

Anyone with any other cure? I'm doing this for the same reason everyone else is doing it. I want to delete files I just copied. Help me out guys.
How do I search for files who's name contains a parenthesis? Entering
(2) gives me all files containing 2 (which are a couple of houndred,
while there should only be two or three with (2) in the name) since the
parentheses have a special meaning when searching. Ive tried to use \ to
escape them but no luck.

--
Erik Wikstr?m
What about enclosing the search in quotes, like "(2)"? Does that work?


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
In the Search box, type:

name:~"*(2)*"

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]
 
D

David Crewdson

To recursively delete these (1) files open a command window (start...Run...cmd) and do the following:

cd c:\
dir /s *"(1)"* (/s means recursive)

Make sure these are all the files you want to delete, then:

del /s *"(1)"* (/s means recursive)


NOTES:

1) If "Run" is not listed under Start (Windows 7), right-click the lower-left Windows-icon -> Properties -> Start Menu -> Customize -> check [ ] Run command

2) To make the initial DIR listing more readable, you can also try:

dir /a:-d/b/s *"(1)"*

/a:-d - Skips directories
/b - Bare information (no headers or summary)
/s - Recursive
How do I search for files who's name contains a parenthesis? Entering
(2) gives me all files containing 2 (which are a couple of houndred,
while there should only be two or three with (2) in the name) since the
parentheses have a special meaning when searching. Ive tried to use \ to
escape them but no luck.

--
Erik Wikstr?m
What about enclosing the search in quotes, like "(2)"? Does that work?


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
In the Search box, type:

name:~"*(2)*"

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top