Windows 10: How do I do a Windows file search by file contents with an asterisk wildcard in the first...

Discus and support How do I do a Windows file search by file contents with an asterisk wildcard in the first... in Cortana to solve the problem; Dear "Support", I have the same question as it already was discussed in 2023 - but there with no real solution.I have 4 files in a directory:1... Discussion in 'Cortana' started by K. D.1, Mar 18, 2024.

  1. K. D.1 Win User

    How do I do a Windows file search by file contents with an asterisk wildcard in the first...


    Dear "Support", I have the same question as it already was discussed in 2023 - but there with no real solution.I have 4 files in a directory:1 Steuerbescheinigungen_2023_name1.pdf2 Anfrage_Steuer_Kauf_Einstand.pdf3 Jahressteuerbescheinigung_20240306.pdf4 Jahressteuerbescheinigung_20240307.pdfSo the string "steuer" is in every of the 4 filenames. In the first 2 with a capital "S" and in the other files somewhere in the middle as part of a word.When I now search for *steuer* in Windows Explorer, only the files 1 and 2 are found. When I search for "Jahressteuer", then the files 3 and 4 are fo

    :)
     
    K. D.1, Mar 18, 2024
    #1

  2. How do I do a Windows file search by file contents with an asterisk (wildcard) in the first character?

    Hello,

    I am struggling to use wildcards for searching for files in Windows by content, in the specific case where the wildcard replaces the first character. So, for example, if I am searching for files with the word foobar in them then:

    • Searching for foobar will find them.
    • Searching for foob*r will find them.
    • Searching for fooba* will find them.
    • Searching for *foobar will find them.
    • Searching for *oobar with not find them.
    Wrapping the word is quotation marks, or using the prefix content: does not appear to change this behaviour.

    Can anyone explain to me why this is? How would I then search for all documents containing the word: foobar, noobar or oobar? I assume this behaviour is replicable on other PCs, but to be clear, I have only tried it on mine (Windows 10) for now.

    Many thanks in advance for any insights offered!

    Best,

    Eddie
     
    eddie_matos, Mar 18, 2024
    #2
  3. How do I do a Windows file search by file contents with an asterisk (wildcard) in the first character?

    Hi Hanem,

    Thank you very much for the fast reply. The hyperlink you provided to the page "Examples of wildcard characters" was very interesting. However, unfortunately it didn't solve my problem.

    In the following zip file I have created 4 Microsoft Word documents. Each document contains one of the following 4 words:

    1. foobar
    2. noobar
    3. oobar
    4. barfoo
    OneDrive

    If I extract the files into a folder, and run a search for ?oobar, or *oobar, then based on my understanding of how wildcard characters work, I would expect to see 1, 2 and 3 served up as results. But this is not what happens. I can replicate this on other PCs. Do you know why this doesn't work?

    Best,

    Eddie
     
    eddie_matos, Mar 18, 2024
    #3
  4. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    Wildcard File Search Broken

    There is
    another thread on this subject
    , but it is locked.

    Some of the information in the above thread is correct, but some is not and the bottom line is that file search is both broken and sorely undocumented.

    The most notable problem is that in some circumstances, wildcard searches for filenames will not show any results when the last letter of the extension is typed... for example;

    *.pd finds all files where the extension _begins_ with "pd" such as "myfile.pdf"

    but

    *.pdf returns zero results even if there are hundreds of files with the extension ".pdf"

    The problem get's serious when searching for something like python scripts... i.e. "myfile.py" since searching for "myfile.p" using "*.p" will find every file who's extension begins with ".p" but using "*.py" will not find any files that have the extension
    ".py"

    The scenario gets complicated and confusing using qualifiers such as "name:" in order to return only filename and not file content results.

    Other options suggested options such as adding ~" to a wildcard string return mixed results and, as far as I can determine these qualifiers are totally undocumented.

    Discussion and options requested.

    Thanks in advance,

    Beverly Howard
     
    BeveHoward, Mar 18, 2024
    #4
Thema:

How do I do a Windows file search by file contents with an asterisk wildcard in the first...

Loading...
  1. How do I do a Windows file search by file contents with an asterisk wildcard in the first... - Similar Threads - file search file

  2. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    in Windows 10 Gaming
    How do I do a Windows file search by file contents with an asterisk wildcard in the first...: Dear "Support", I have the same question as it already was discussed in 2023 - but there with no real solution.I have 4 files in a directory:1 Steuerbescheinigungen_2023_name1.pdf2 Anfrage_Steuer_Kauf_Einstand.pdf3 Jahressteuerbescheinigung_20240306.pdf4...
  3. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    in Windows 10 Software and Apps
    How do I do a Windows file search by file contents with an asterisk wildcard in the first...: Dear "Support", I have the same question as it already was discussed in 2023 - but there with no real solution.I have 4 files in a directory:1 Steuerbescheinigungen_2023_name1.pdf2 Anfrage_Steuer_Kauf_Einstand.pdf3 Jahressteuerbescheinigung_20240306.pdf4...
  4. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    in Cortana
    How do I do a Windows file search by file contents with an asterisk wildcard in the first...: Hello,I am struggling to use wildcards for searching for files in Windows by content, in the specific case where the wildcard replaces the first character. So, for example, if I am searching for files with the word foobar in them then:Searching for foobar will find...
  5. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    in Windows 10 Gaming
    How do I do a Windows file search by file contents with an asterisk wildcard in the first...: Hello,I am struggling to use wildcards for searching for files in Windows by content, in the specific case where the wildcard replaces the first character. So, for example, if I am searching for files with the word foobar in them then:Searching for foobar will find...
  6. How do I do a Windows file search by file contents with an asterisk wildcard in the first...

    in Windows 10 Software and Apps
    How do I do a Windows file search by file contents with an asterisk wildcard in the first...: Hello,I am struggling to use wildcards for searching for files in Windows by content, in the specific case where the wildcard replaces the first character. So, for example, if I am searching for files with the word foobar in them then:Searching for foobar will find...
  7. Can't do wildcard search for file extensions in explorer?

    in Windows 10 Ask Insider
    Can't do wildcard search for file extensions in explorer?: This is weird, I'm trying to find all the *.mov files in my dropbox folder on my C: drive. I seem to be able to find *.JPG (when I use *.jpg lower case), or at least some of them, but *.mov and *.pdf etc doesn't work. The search returns nothing. But I can see them, they are...
  8. How do I open the contents of the contents of a gz file?

    in Windows 10 Software and Apps
    How do I open the contents of the contents of a gz file?: I have a website backup in a gz file. In Windows 7, I could penetrate this file without, I'm pretty sure, any add-on software. I think 7's compressed file tools opened the .gz file fine, and then each subfolder and its contents and subfolders was navigable. In Windows 10, I...
  9. How do I create Windows File Explorer Search wildcards and escape code?

    in Windows 10 Network and Sharing
    How do I create Windows File Explorer Search wildcards and escape code?: I cant any reasonable tutorial on the net. I need to search for filenames, which have numbers in parenthesis. It looks like parenthesis are somehow ignored. How do I properly escape the character - as of now it seems to me, like it is ignored. I need to extract from my...
  10. how do I use windows explorer to search the contents of a directory of files for the 3...

    in Windows 10 Network and Sharing
    how do I use windows explorer to search the contents of a directory of files for the 3...: how do I use windows explorer to search the contents of a directory of files for the 3 character literal "." (the quotes are part of the literal I am searching for)? Thanks !!!...