Windows 10: Search for file by substrings in file name

Discus and support Search for file by substrings in file name in Windows 10 Network and Sharing to solve the problem; Say that I am looking for a file named Bernie_1234.ext If I use 1234 as the search string, the file is found. If I use 234 as the search string,... Discussion in 'Windows 10 Network and Sharing' started by Bernie Deitrick, Sep 3, 2019.

  1. Search for file by substrings in file name


    Say that I am looking for a file named


    Bernie_1234.ext


    If I use 1234 as the search string, the file is found.

    If I use 234 as the search string, nothing is found.

    If I use Ber as the search string, the file is found.

    If I use ernie as the search string, nothing is found.

    If I use ernie_ or even ie_ as the search string, the file is found.


    Is there some setting that I need to change to allow any substring of the name to be searched for and found?

    :)
     
    Bernie Deitrick, Sep 3, 2019
    #1

  2. Search Part of File Name with Keyword (Examples Included)

    I tested your claim and found that it is correct. In technical terms, the Explorer "find" function will not find substrings inside a string unless the substrings are delimited by spaces or underscores.

    You might have to wait for a long time for this restriction to be lifted. In the meantime I suggest you look at the many alternative file finders that you can see with a Google query like so:

    File finder for Windows

    Alternatively you could use a simple script to find your files.
     
    Frederik Long, Sep 3, 2019
    #2
  3. slozomby Win User
    Recent File List

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file1

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file2
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file3
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file4
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file5
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file6
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file7
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file8
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file9
    ...

    you get the idea. ( too lazy to put it in a for loop and test it.

    or just open regedit and remove all the fileX from that key.
     
    slozomby, Sep 3, 2019
    #3
  4. dark2099 Win User

    Search for file by substrings in file name

    Generating a .txt based file list in Windows 7

    I want to be able to generate a .txt file that lists all the files and folders in a specific folder on my PC, but don't know the name of any programs that do that. Searched on google a bit and came up with this guide, but it's for XP and I can't seem to find some of the folder options to modify the .bat file. Any suggestions? Thanks

    http://www.theeldergeek.com/file_list_generator.htm

    EDIT: The .bat file will do what I want if it is in the folder I want to do it in, but the option I want to add is having the right click option that it shows.
     
    dark2099, Sep 3, 2019
    #4
Thema:

Search for file by substrings in file name

Loading...
  1. Search for file by substrings in file name - Similar Threads - Search file substrings

  2. Searching for files names containing symbols

    in Cortana
    Searching for files names containing symbols: I have a folder containing files which I named with = in the name e.g. "Richmond Division====". They have anything from 1-6 ='s in the name. I want to be able to search for these files, say all the files with four ='s. When I try it comes up with no results. Is there a way...
  3. file names

    in Windows 10 Network and Sharing
    file names: When I name a file and use some caps and some lower case letters why is file explorer changing it to all lower case? https://answers.microsoft.com/en-us/windows/forum/all/file-names/8467538b-d686-4ac9-9271-62ba146d174f"
  4. Folder "Search" not deleting old file names

    in Windows 10 Network and Sharing
    Folder "Search" not deleting old file names: For some reason my computer isn't deleting old file names. Example: I have a picture named "Bob 1.0". I then change the name to "Bob 2.0". I then move that picture from Folder 1A to Folder 2B. When I do a search for "Bob" I get three results: I get "Bob 1.0", "Bob 2.0" in...
  5. searching with file explorer for just file names

    in Windows 10 Network and Sharing
    searching with file explorer for just file names: Name:XYZ file explorer will list filenames, folder names, shortcuts etc. NO. I just want filenames! How to do i get that? https://answers.microsoft.com/en-us/windows/forum/all/searching-with-file-explorer-for-just-file-names/733d9215-8cb9-49fc-ae2d-3559c6e1e642"
  6. Windows search not locating some file names

    in Cortana
    Windows search not locating some file names: After the last update, I have problem searching certain files using windows search function. My file names are usually a name followed by a number, e.g. act1, act2 etc. Now if I search for act2, it would show act28, act27 etc. act 2 file would not show up at all. I need to...
  7. Elongated file names after file search

    in Windows 10 Support
    Elongated file names after file search: I get odd looking results after I do a file search with list view or small icons. All fine when explorer normally displays in windows 10 but it looks like the file name is padded out with some extraneous characters.. Any thoughts or is this normal? Thanks John [img]...
  8. File Explorer Search-"Limit to search on name" not working

    in Windows 10 Support
    File Explorer Search-"Limit to search on name" not working: Hello, The File explorer option is bugged: whatever option one chooses: search names, url, or contents: the result total is that of search "contents". For most searches, this gives 12000 files instead of say 3. Cortana does give the three, but it's not at all a satisfactory...
  9. Search file names question!

    in Windows 10 Support
    Search file names question!: Hello! Currently, when I search within folders, it only searches the beginning of the file names. Is there a way to search within the file names? Like you can when you press ctrl + f in a body of text. Thank you!! 51660
  10. How to search a file by its partial name?

    in Windows 10 Support
    How to search a file by its partial name?: Hi, I have a file named IMG_20151218_0001.pdf. How can search it when I only remember it has 1218 as a part of the file name? Thanks. I tried some of the searches and the result is empty, such as filename:"*1218*", *1218*, and "*1218*". Thank you. 34322