Wikipedia:Reference desk/Archives/Computing/2021 June 9

= June 9 =

How do you search for filenames in My Computer window?
Without it being the 1st string? For example, if I type in chemistry, then files like chemistry-this, and chemistry-that, will show, but not biochemistry. Trying wildcards doesn't work: *chemistry. I note that. is a partial wildcard, for extensions. So If I want to return Excel files, then typing .xls will show all files ending in .xls, but typing in .chemistry will not bring up biochemistry. Obviously, I understand there's a logic to this, typing in a, will show all files starting with the letter a, and you likely would not want all filenames that have the letter a, but just wondering what other features can you search without it being the 1st letter phrase? 67.165.185.178 (talk) 11:18, 9 June 2021 (UTC).
 * The *[string] format actually works on my PC, at least for Windows Explorer. I'm running Windows 10, update as of March 8, 2021. ←Baseball Bugs What's up, Doc? carrots→ 12:36, 9 June 2021 (UTC)
 * I don't know if this exactly answers the OP's question, but have you considered a dedicated search application such as in our List of search engines? They often have more functionality than Windows. Some of these (including free ones) are reviewed here. MinorProphet (talk) 20:03, 9 June 2021 (UTC)


 * So what's going on is that the string you type into the search bar is your search term. It's going to look for whole words in filenames that match that string. So that's why it finds  for example, but not   when you type in.
 * When you start that string with a period, the search function interprets that as you looking for files with whose extension matches the rest of what you typed. So that's why it's finding  files (pre-2010 Excel spreadsheets) when you type , but not finding anything when you type  ; you don't have any files with the   filetype.
 * So the answer here is as Baseball Bugs pointed out: Use a wildcard character. In this case, the asterix tells the search function to match any number (including 0, I believe) of any characters in that place. So you can search for  and that will return any file whose filename begins with , regardless of what, if anything, comes after. You could narrow this down to older Excel spreadsheets by entering   which will match any file whose name starts with   and ends with  . If you wanted to find the file  , the following searches would work:
 * and of course;
 * There's a lot more to windows search that you can do. There are boolean operators (,  and the like), filters for tags and certain file properties, date matching, and even another wildcard,   which matches any single character. Here is a link to Microsoft's documentation of their Advanced Query Syntax, or AQS. This explains all the different ways you can tighten or broaden your searches.  ᛗᛁᛟᛚᚾᛁᚱPants   Tell me all about it.  14:35, 10 June 2021 (UTC)
 * and of course;
 * There's a lot more to windows search that you can do. There are boolean operators (,  and the like), filters for tags and certain file properties, date matching, and even another wildcard,   which matches any single character. Here is a link to Microsoft's documentation of their Advanced Query Syntax, or AQS. This explains all the different ways you can tighten or broaden your searches.  ᛗᛁᛟᛚᚾᛁᚱPants   Tell me all about it.  14:35, 10 June 2021 (UTC)
 * and of course;
 * There's a lot more to windows search that you can do. There are boolean operators (,  and the like), filters for tags and certain file properties, date matching, and even another wildcard,   which matches any single character. Here is a link to Microsoft's documentation of their Advanced Query Syntax, or AQS. This explains all the different ways you can tighten or broaden your searches.  ᛗᛁᛟᛚᚾᛁᚱPants   Tell me all about it.  14:35, 10 June 2021 (UTC)
 * There's a lot more to windows search that you can do. There are boolean operators (,  and the like), filters for tags and certain file properties, date matching, and even another wildcard,   which matches any single character. Here is a link to Microsoft's documentation of their Advanced Query Syntax, or AQS. This explains all the different ways you can tighten or broaden your searches.  ᛗᛁᛟᛚᚾᛁᚱPants   Tell me all about it.  14:35, 10 June 2021 (UTC)

You know what the wildcard * does work for me now. I gotta think about the cases if it didn't, if there were any. Damm, now I feel like an idiot for asking. 67.165.185.178 (talk) 15:08, 10 June 2021 (UTC).
 * The only stupid questions are the ones we don't ask.
 * And questioning the absolute superiority of Admiral Jean-Luc Picard over that incorrigible knave, Kirk. I mean, seriously, what kind of name is "James Tiberius", anyways?  ᛗᛁᛟᛚᚾᛁᚱPants   Tell me all about it.  15:15, 10 June 2021 (UTC)