locked
How do I search for a file named (2) ? RRS feed

  • Question

  • Using the normal search window, I want to find files containing (2) the name, including the brackets.

    But Windows 7 searches for everything with 2, ignoring the brackets.

    Has anyone a tried-and-works way to make it search for filenames containing (2) ? Not guessing please, and yes, I tried "(2)" and a few other things.

     

    It works in a cmd window with:

    dir *(2)* /b/s/a

    but I cannot do such nice things like, copy delete sort by size date name etc..


    • Edited by Setsunaaa Thursday, January 19, 2012 11:16 PM
    Thursday, January 19, 2012 11:14 PM

Answers

  • I know its an old thread but its not been resolved and it's relevant in search results.

    Type this in the search box: name:(~="(2)")

    It will look for any filename that has (2) in the name.


    • Edited by Arkymedes Monday, December 22, 2014 6:11 PM
    • Marked as answer by Setsunaaa Monday, December 22, 2014 9:44 PM
    Monday, December 22, 2014 6:11 PM

All replies

  • This works on my machine:

    Type filename:"(2)" in the search text box.


    You can find more information on query syntax here:
    http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx


    Hope this helps.

    Friday, January 20, 2012 5:49 PM
  • This works on my machine:

    Type filename:"(2)" in the search text box.


    You can find more information on query syntax here:
    http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx


    Hope this helps.

    Failes.

    I must say: I do NOT have indexing on (and never will since it interferes a lot at the wrong times). Several tries:

    filename:dupemerge.txt filename:"dupemerge.txt" filename:(2) filename:"(2)" and other files I see in the explorer - and searching finds NOTHING using that syntax.

    Friday, January 20, 2012 8:04 PM
  • That did not work for me using Windows 7.  The link provided was for Windows Desktop Search 2.x which was depreciated after XP.  Navigating to the recommended Windows Search also provides no help: http://msdn.microsoft.com/en-us/library/ff628790(v=vs.85).aspx.

    In either case, it seems that Parentheses are reserved for Boolean operations.  Seems in Windows 7 search window, you can even escape this particular character.

    Good luck to you Setsunaaa.

    • Marked as answer by Juke Chou Friday, February 3, 2012 3:42 AM
    • Unmarked as answer by Setsunaaa Monday, December 22, 2014 9:41 PM
    Monday, January 23, 2012 6:26 AM
  • I know its an old thread but its not been resolved and it's relevant in search results.

    Type this in the search box: name:(~="(2)")

    It will look for any filename that has (2) in the name.


    • Edited by Arkymedes Monday, December 22, 2014 6:11 PM
    • Marked as answer by Setsunaaa Monday, December 22, 2014 9:44 PM
    Monday, December 22, 2014 6:11 PM
  • Type this in the search box: name:(~="(2)")

    Works! Thanks!

    I had to use either cmd shell or Fileseek from binaryfortress for such cases.

    Monday, December 22, 2014 9:40 PM
  • Thank you very much. 

    This is the only one that worked for me.

    Saturday, April 22, 2017 8:22 PM
  • These will address search global search parameters. They are applicable Win 7 - 10

    DISALLOWED:  https://answers.microsoft.com/en-us/windows/forum/windows_7-files/parentheses-or-dot-in-file-name/0625ba2e-632d-4303-af0c-9e9623711277

    VALID:               https://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-do-i-search-for-parenthesis/ff8982f2-7a65-4569-a3f1-0373d0763ad8

    Wednesday, April 25, 2018 8:27 AM
  • thank you very much
    Saturday, September 8, 2018 10:12 AM
  • Still works with Windows 8.1 in 2018.
    Sunday, September 30, 2018 5:53 PM
  • Thanks it worked perfectly just change the number to suit
    Saturday, May 11, 2019 11:56 AM