1.    08 Sep 2016 #1
    Join Date : Sep 2016
    Posts : 2
    Windows 10

    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.    08 Sep 2016 #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,628
    Windows 10 Pro

    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
    Join Date : Sep 2016
    Posts : 2
    Windows 10
    Thread Starter

    Quote Originally Posted by Kari 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.    08 Sep 2016 #4
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,628
    Windows 10 Pro

    You are welcome
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
General Tips ALT Key Codes for Special Characters List
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...
Tutorials
Volume Mixer Special Problem
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...
Drivers and Hardware
Solved Windows 10 Pro x64 BSOD [special]
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: ...
BSOD Crashes and Debugging
Windows 10 tip: Access symbols, emojis, and other special characters
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. ...
Windows 10 News
MSDN Magazine: Special Windows 10 Issue
Source: MSDN Magazine: Special Windows 10 Issue | Building Apps for Windows
Windows 10 News
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 03:08.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums