21

I am looking for files in a particular directory that have the following extensions : txt, csv or xml

The directory has many levels of subdirectories that I would like to search for all 3 file types in one go.

So in the explorer I type Ctrl+F and type some thing like *.txt;*.csv;*.xml. But after a long time of watching a green bar fill up I get zero results.

However there are hundreds of files of thoses types from this directory down.

How can I do such a search in Windows 8?

  • Make sure you are search in "files". (Neither Settings or Apps) – TheGoodUser Jul 4 '14 at 17:25
  • @techie007 No, it's not the same question, at least it does not help me. I am in a directory in Windows explorer and I do Ctrl+F. I want to search from there. I don't want to have to locate again the very folder I am in. – Sébastien Jul 4 '14 at 17:32
  • Oooh so you want to search for multiple file types/extensions at the same time. Sorry, I thought your comma separated list was different extensions you tried. – Ƭᴇcʜιᴇ007 Jul 4 '14 at 17:35
  • 1
    Searching from GUI takes most of time as it relies on the indexing service, if time is the killer go for console with stackoverflow.com/a/25717502/3057246 – Vinod Srivastav Dec 23 '17 at 11:53
29

On the top right of Windows Explorer, type *.extension in the search box.

i.e. to search txt files you should type:

*.txt

For multiple files use:

*.doc OR *.txt OR *.pdf

This link can be helpful

  • This only works for 1 file type, not a combination. – Sébastien Jul 4 '14 at 17:34
  • 1
    Ext:.doc OR Ext:.txt OR Ext:.pdf you can use this for multiple files – Suraj k Jul 4 '14 at 17:37
  • 5
    A very useful tip - but note that "OR" must be upper case. – Dave Becker Jul 4 '14 at 18:16
  • Another item that I learned recently that could be helpful - you can save searches you run a lot (like, for me, searches by type are common) up on the Search ribbon in Win 8, there's a button for saving it. Can do this from Vista on up, but the mechanism changes – Nick Jul 11 '14 at 18:46
  • This particular method is not ideal as it lacks precision. If you want to search for *.doc files, for example, *.docx files will be included in the results. – b1nary.atr0phy Apr 24 '17 at 20:51
3

I find Everything very useful in my daily usage. The search is highly flexible due to the usage of wildcards. It will scan all your connected hard drives only once and once it has completed scanning all the searches you perform are super duper fast! To answer your question, your search in Everything would be *.txt or *.csv.

1

Using

~>".extension"

will bring you all the files on PC which ends exactly with ".extension". This solves problem of showing unrelated files in search result.

0

In Windows 10, I don't know why, but I have to type *extension without a . between the * and the extension.

For example: not *.zip, but *zip.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.