Search for files with parenthesis in name

Discussion in 'Windows Vista File Management' started by Erik Wikström, Feb 25, 2007.

  1. 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, Feb 25, 2007
    1. Advertisements

  2. Erik Wikström

    Malke Guest

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

    Malke, Feb 25, 2007
    1. Advertisements

  3. Nope
    Erik Wikström, Feb 25, 2007
  4. If there are spaces around those, add them withing the quotes. Works for me!
    " (2) "

    Bob Hallsworth, Feb 26, 2007
  5. Nope, no such luck, but for some reason the number of files found was
    about halved.
    Erik Wikström, Feb 26, 2007
  6. Erik Wikström

    Wayne Hertz Guest

    Use XYplorer (or some other good explorer replacement) for searching and say
    bye-bye to such problems.
    Wayne Hertz, Feb 28, 2007
  7. Erik Wikström

    Andrew Leigh 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.
    Andrew Leigh, Mar 3, 2007
  8. Finally found out the way:

    In the Search box, type:

    Keith Miller MVP, Mar 17, 2007
  9. Erik Wikström

    Amir Deilami Guest

    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.
    Amir Deilami, Oct 13, 2010
  10. 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)


    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
    David Crewdson, Jan 20, 2011
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.