Welcome to MS Vista Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Search for files with parenthesis in name

 
   MS Vista Forums (Home) -> File Management RSS
Next:  Folder tip text  
Author Message
Erik_Wikström

External


Since: Jun 26, 2006
Posts: 13



(Msg. 1) Posted: Sun Feb 25, 2007 1:25 pm
Post subject: Search for files with parenthesis in name
Archived from groups: microsoft>public>windows>vista>file_management (more info?)

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

 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Malke

External


Since: Jan 12, 2007
Posts: 1534



(Msg. 2) Posted: Sun Feb 25, 2007 1:25 pm
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Erik_Wikström

External


Since: Jun 26, 2006
Posts: 13



(Msg. 3) Posted: Sun Feb 25, 2007 6:58 pm
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Bob Hallsworth

External


Since: Feb 26, 2007
Posts: 2



(Msg. 4) Posted: Mon Feb 26, 2007 10:52 am
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

Bob

"Erik Wikström" wrote in message

> 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
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Erik_Wikström

External


Since: Jun 26, 2006
Posts: 13



(Msg. 5) Posted: Mon Feb 26, 2007 7:01 pm
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-02-26 11:52, Bob Hallsworth wrote:
> "Erik Wikström" wrote in message
>
>> 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
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Wayne Hertz

External


Since: Feb 22, 2007
Posts: 3



(Msg. 6) Posted: Wed Feb 28, 2007 10:53 pm
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Use XYplorer (or some other good explorer replacement) for searching and say
bye-bye to such problems.
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Andrew Leigh

External


Since: Mar 02, 2007
Posts: 1



(Msg. 7) Posted: Fri Mar 02, 2007 7:06 pm
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Keith Miller MVP

External


Since: Jan 23, 2007
Posts: 256



(Msg. 8) Posted: Sat Mar 17, 2007 10:13 am
Post subject: Re: Search for files with parenthesis in name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Finally found out the way:

In the Search box, type:

name:~"*(2)*"

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"Erik Wikström" wrote in message

> 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
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Amir Deilami

External


Since: Oct 13, 2010
Posts: 1



(Msg. 9) Posted: Wed Oct 13, 2010 4:04 am
Post subject: Nope. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

> On Sunday, February 25, 2007 7:25 AM Erik-wikstro 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


>> On Sunday, February 25, 2007 10:09 AM Malke wrote:

>> Erik Wikstr?m wrote:
>>
>> 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


>>> On Sunday, February 25, 2007 12:58 PM Erik-wikstro wrote:

>>> On 2007-02-25 16:09, Malke wrote:
>>>
>>> Nope
>>>
>>> --
>>> Erik Wikstr?m


>>>> On Monday, February 26, 2007 5:52 AM Bob Hallsworth wrote:

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


>>>>> On Monday, February 26, 2007 1:01 PM Erik-wikstro wrote:

>>>>> On 2007-02-26 11:52, Bob Hallsworth wrote:
>>>>>
>>>>> Nope, no such luck, but for some reason the number of files found was
>>>>> about halved.
>>>>>
>>>>> --
>>>>> Erik Wikstr?m


>>>>>> On Wednesday, February 28, 2007 4:53 PM Wayne Hertz wrote:

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


>>>>>>> On Friday, March 02, 2007 10:06 PM Andrew Leig wrote:

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


>>>>>>>> On Saturday, March 17, 2007 10:13 AM Keith Miller MVP wrote:

>>>>>>>> Finally found out the way:
>>>>>>>>
>>>>>>>> In the Search box, type:
>>>>>>>>
>>>>>>>> name:~"*(2)*"
>>>>>>>>
>>>>>>>> --
>>>>>>>> Good Luck,
>>>>>>>>
>>>>>>>> Keith
>>>>>>>> Microsoft MVP [Windows XP Shell/User]


>>>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>>>>>> SharePoint Lists In Excel Via VSTO
>>>>>>>> http://www.eggheadcafe.com/tutorials/aspnet/b56c03b3-35ea-43c5-8b87-2f...518377c
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
David Crewdson

External


Since: Jan 20, 2011
Posts: 1



(Msg. 10) Posted: Thu Jan 20, 2011 11:27 am
Post subject: Re: Nope. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

> On Sunday, February 25, 2007 7:25 AM Erik-wikstro 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


>> On Sunday, February 25, 2007 10:09 AM Malke wrote:

>> Erik Wikstr?m wrote:
>>
>> 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


>>> On Sunday, February 25, 2007 12:58 PM Erik-wikstro wrote:

>>> On 2007-02-25 16:09, Malke wrote:
>>>
>>> Nope
>>>
>>> --
>>> Erik Wikstr?m


>>>> On Monday, February 26, 2007 5:52 AM Bob Hallsworth wrote:

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


>>>>> On Monday, February 26, 2007 1:01 PM Erik-wikstro wrote:

>>>>> On 2007-02-26 11:52, Bob Hallsworth wrote:
>>>>>
>>>>> Nope, no such luck, but for some reason the number of files found was
>>>>> about halved.
>>>>>
>>>>> --
>>>>> Erik Wikstr?m


>>>>>> On Wednesday, February 28, 2007 4:53 PM Wayne Hertz wrote:

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


>>>>>>> On Friday, March 02, 2007 10:06 PM Andrew Leig wrote:

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


>>>>>>>> On Saturday, March 17, 2007 10:13 AM Keith Miller MVP wrote:

>>>>>>>> Finally found out the way:
>>>>>>>>
>>>>>>>> In the Search box, type:
>>>>>>>>
>>>>>>>> name:~"*(2)*"
>>>>>>>>
>>>>>>>> --
>>>>>>>> Good Luck,
>>>>>>>>
>>>>>>>> Keith
>>>>>>>> Microsoft MVP [Windows XP Shell/User]


>>>>>>>>> On Wednesday, October 13, 2010 12:04 AM Amir Deilami wrote:

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


>>>>>>>>> Submitted via EggHeadCafe
>>>>>>>>> Creating Google Motion Charts from Excel data
>>>>>>>>> http://www.eggheadcafe.com/tutorials/aspnet/86599bca-edda-4204-af15-7a...901a071
 >> Stay informed about: Search for files with parenthesis in name 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Old Files Appear In Search - When I use the search feature in the start bar I keep getting hits for old files that I have deleted and removed from the recycle bin. How can I get these files to stop showing up?

Search doesn't show PST files - I just installed the final version of Vista and Office2007. When I do a search for the outlook PST files it doesn't show anything. Outtlokk shows all my items so it's there somewhere. What do I need to set to show them in search?

How do you search for files containing parenthesis? - How can I escape parenthesis so the literal is searched instead of the logic kicking in?

Search files by content - I have a directory with a large number of subdirectories and files. I wish to find all files that contain a certain search phrase (i.e. the search phrase is not in the file name, but in the contents of the file). Most of the files are plain ASCII text...

Keyword search does not work on all files - Just like XP (SP2), it seems that the Vista does not search for keywords in "non registered" files. I have the same problem as "auser" for searching within non-indexed files (ie. put string "SEARCH" in file called file.d...
   MS Vista Forums (Home) -> File Management All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]