1.    19 Jun 2017 #1
    Join Date : Jun 2017
    Posts : 1
    windows 10

    How do I search for the % character

    I would like to name some folders with a unique prefix that makes finding them easier. I chose %C as the folder name prefix.

    In my little test, I created some of these folders, and then attempted to use windows search to pull them all up. I find that windows search doesn't look for the % character. I will find another naming system, but can anybody explain this limitation, and whether there is any method to search for that character? - I don't understand why it doesn't work.

    thanks v much in advance.
      My ComputerSystem Spec
  2.    19 Jun 2017 #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,979
    Windows 10 Pro

    As the name says, special characters are used for various special purposes, for instance the % sign you mentioned is used to mark environment variables. You can try it yourself to see how it works:
    • Type %userprofile% on File Explorer addessbar, hit Enter to open your user folder
    • Type %windir% on File Explorer addessbar, hit Enter to open Windows folder
    • Type %localappdata% on File Explorer addessbar, hit Enter to open Users\Your_Username\Appdata\Local folder
    • Type %appdata% on File Explorer addessbar, hit Enter to open Users\Your_Username\Appdata\Roaming folder

    To search files and folders containing these special characters use filename:*X (filename followed by : and * plus the character you are searching) replacing X with actual character. For instance to find all files and folders with % sign in name, search for filename:*%.

    To find all files and folders with string &Test in file / folder name search for filename:*&Test.

      My ComputerSystem Spec
  3.    19 Jun 2017 #3
    Join Date : Aug 2016
    S/E England
    Posts : 4,524
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by kjshort View Post
    I would like to name some folders with a unique prefix that makes finding them easier. I chose %C as the folder name prefix... - I don't understand why it doesn't work.
    As Kari explained, % is a special character. Another example of its use is to type this in a command prompt...
    for %n in (3...,2...,1...,zero!) do @echo %n

    Try the $ character instead of %. That should have no such problems. Indeed, it's one that Microsoft themselves use for 'unique' folder names (like the $Windows ones that a windows install uses).
      My ComputersSystem Spec
  4.    19 Jun 2017 #4
    Join Date : Apr 2017
    Posts : 8,847
    windows 10 professional version 1607 build 14393.969 64 bit

    You may be able use third party software to find files on internal and external drives and use the % character. For example on one out of two computers typing % displayed a few files:

    The software is everything search or search everything. It will index all files on your drives. It displays search results instantaneously. The more characters you type the narrower the search results.
      My ComputerSystem Spec
  5.    19 Jun 2017 #5
    Join Date : Jul 2016
    Granite Bay, CA
    Posts : 718
    Windows 10 Professional

    A good third party search app, which is very nice and simple, is called "Everything". (zbook said search everything / everything search. He's referring to this app, it's only one word: Everything)

    By using the app, I just tried searching for the percent sign, and it worked; it found files with the percent sign % in their file name.
      My ComputerSystem Spec


Similar Threads
Thread Forum
Skyrim Fans!: Your Character's Name & Type?
Khajiit; basically a human shaped cat with a lot of fur and cat face ears and claws. Name: Kaen No Koda Fire Child ^^ POST YOURS BELOW..
Chillout Room
Solved Getting Strange Display and type X character by itself
My Hp envy starts to type by itself xxxxx constantly once in a while and the screen goes to inverted color , it goes away after I restart
General Support
Solved bizarre character in Standard Digits
Hi, I have a really odd issue where a vertical bar appears in all paths in explorer, on the system clock and explorer date/time stamps. you can see examples below. I've reset my regional settings, and checked the registry for standard digits,...
General Support
CE character encoding in Notepad
I hate Windows feature that enforces installing localized software - e.g. I live in Poland so if I set my location as "Poland" many apps will be installed with Polish interface, which I don't want to. Therefore I've installed my OS in en-US...
Software and Apps
Why is font not displayed in Character Map
Recently upgraded to Win 10. Since then, added new font, Helvetica Neue. It shows in File Explorer, it shows in apps generally (see image) but it doesn't show in Character Map. Why not? 39106
Software and Apps
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 17:28.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums