Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Search for files with parenthesis in name

Reply
 
Old 02-25-2007   #1 (permalink)
Erik Wikström


 
 

Search for files with parenthesis in name

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

My System SpecsSystem Spec
Old 02-25-2007   #2 (permalink)
Malke


 
 

Re: Search for files with parenthesis in name

Erik Wikström wrote:
> 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
My System SpecsSystem Spec
Old 02-25-2007   #3 (permalink)
Erik Wikström


 
 

Re: Search for files with parenthesis in name

On 2007-02-25 16:09, Malke wrote:
> Erik Wikström wrote:
>> 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?


Nope

--
Erik Wikström
My System SpecsSystem Spec
Old 02-26-2007   #4 (permalink)
Bob Hallsworth


 
 

Re: Search for files with parenthesis in name

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

Bob

"Erik Wikström" <Erik-wikstrom@telia.com> wrote in message
news:OGUx8fNWHHA.3568@TK2MSFTNGP06.phx.gbl...
> 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


My System SpecsSystem Spec
Old 02-26-2007   #5 (permalink)
Erik Wikström


 
 

Re: Search for files with parenthesis in name

On 2007-02-26 11:52, Bob Hallsworth wrote:
> "Erik Wikström" <Erik-wikstrom@telia.com> wrote in message
> news:OGUx8fNWHHA.3568@TK2MSFTNGP06.phx.gbl...
>> 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.

>
> 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.

--
Erik Wikström
My System SpecsSystem Spec
Old 02-28-2007   #6 (permalink)
Wayne Hertz


 
 

Re: Search for files with parenthesis in name

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



My System SpecsSystem Spec
Old 03-02-2007   #7 (permalink)
Andrew Leigh


 
 

Re: Search for files with parenthesis in name

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.
My System SpecsSystem Spec
Old 03-17-2007   #8 (permalink)
Keith Miller MVP


 
 

Re: Search for files with parenthesis in name

Finally found out the way:

In the Search box, type:

name:~"*(2)*"

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"Erik Wikström" <Erik-wikstrom@telia.com> wrote in message
news:OGUx8fNWHHA.3568@TK2MSFTNGP06.phx.gbl...
> 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


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
cannot use parenthesis when calling sub VB Script
comparing a string that contains a parenthesis PowerShell
Number of files in search results using 'Advanced Search' Vista file management
How do you search for files containing parenthesis? Vista file management
Searching for names with parenthesis in them Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46