Windows 10: Searching for special characters

  1.    08 Sep 2016 #1

    Searching for special characters


    Hi all! I just purchased a new Dell with Windows 10. I had a Dell with Windows XP SP3 for ages, and when I made the mistake of updating one of my drivers... Well, it was getting to be time to update... I've a few more grey hairs now.

    Anyway, in my old machine, when I modified a file, I would just append a "-2" or "-3" to the file name, ie. File005-02.html. This made searches very easy, as I could just search for -2 and it would list all the files I'd changed. I have my old drive slaved into my new pc, but I can't seem to figure out what Win10 wants to search for just "-2". Win10 gives me all the files with a 2 in the name or inside the file, completely ignoring the dash, which returns a huge number of files.

    Is there a quick way to do a simple search for files with a dash, underscore, or other special character in the filename?

    Can I turn off the "search inside the file" function, so that it just searches filenames?

    Thanks!
      My ComputerSystem Spec


  2. Posts : 11,235
    Windows 10 Pro
       08 Sep 2016 #2

    To find any file containing -2 search for filename:*-2:

    Click image for larger version. 

Name:	image.png 
Views:	4 
Size:	91.6 KB 
ID:	100489
    (Click to enlarge.)

    Search parameter filename:* followed by any special character searches for that character in file names. For example searching for filename:*& finds all files with an ampersand (&) in filename, search filename:*_ finds all files with an underscore in file name, search filename:*, finds all files with a comma in file name.

    Kari
      My ComputerSystem Spec

  3.    08 Sep 2016 #3

    Kari said: View Post
    To find any file containing -2 search for filename:*-2:

    Click image for larger version. 

Name:	image.png 
Views:	4 
Size:	91.6 KB 
ID:	100489
    (Click to enlarge.)

    Search parameter filename:* followed by any special character searches for that character in file names. For example searching for filename:*& finds all files with an ampersand (&) in filename, search filename:*_ finds all files with an underscore in file name, search filename:*, finds all files with a comma in file name.

    Kari
    Terrific, that works. I thought the * was just a wildcard; that's what all the help faqs said. If you leave off the filename: it pulls everything with a 2 in it. It's a bit odd that MS would make a simple search that cumbersome.

    Thank you so much!
      My ComputerSystem Spec


  4. Posts : 11,235
    Windows 10 Pro
       08 Sep 2016 #4

    You are welcome
      My ComputerSystem Spec


 

Related Threads
How to Type Special Characters with ALT Keyboard Sequences Many special characters are available that may not appear on your keyboard. This tutorial will show you how to type special characters using a list of ALT keyboard sequences. Did you...
Volume Mixer Special Problem in Drivers and Hardware
Alright for some reason I can tune my pc's audio just fine by adjusting the global operating system output sound. However, when I go into volume mixer I don't see any green bars for sounds from any program (including on the global sound column) and...
Solved Windows 10 Pro x64 BSOD [special] in BSOD Crashes and Debugging
So I am currently experimenting with XenServer and GPU Passthrough, that's why there is a thingy So I am having this problem with my VM with GPU passthrough running on XenServer. The BSOD says something like: ...
Entering special characters, including foreign currency symbols, fractions, and emoji, is a cumbersome task on most physical keyboards. Use this hidden Windows 10 option to open an on-screen keyboard that puts all those options at your fingertips. ...
Source: MSDN Magazine: Special Windows 10 Issue | Building Apps for Windows
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 05:09.
Find Us