windows文件类型判断_如何在Windows 8中同时搜索多种文件类型?

windows文件类型判断_如何在Windows 8中同时搜索多种文件类型?

windows文件类型判断

windows文件类型判断_如何在Windows 8中同时搜索多种文件类型?

Searching for a singular file or file type is one thing, but what do you do when you need to search for multiple file types at the same time? Today’s SuperUser Q&A post comes to the rescue for one reader’s file search dilemma.

搜索单个文件或文件类型是一回事,但是当您需要同时搜索多个文件类型时该怎么办? 今天的SuperUser Q&A帖子挽救了一个读者的文件搜索难题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Sebastien wants to know how to search for multiple file types at the same time in Windows 8:

超级用户阅读器Sebastien想知道如何在Windows 8中同时搜索多种文件类型:

I am looking for files in a particular directory that have the following extensions: .txt, .csv, and .xml. The directory has many levels of sub-directories that I would like to search through for all three file types in one go.

我正在寻找具有以下扩展名的特定目录中的文件: .txt,.csv和.xml 。 该目录具有许多子目录级别,我想一次搜索所有三种文件类型。

When I use Ctrl+F in Windows Explorer and enter extension types like *.txt;*.csv;*.xml, I watch the search bar fill up with green for a long time, but end up with no results. I know there are hundreds of these file types in the parent directory and sub-directories though.

当我在Windows资源管理器中使用Ctrl + F并输入* .txt; *。csv; *。xml之类的扩展名时,我看到搜索栏长时间被绿色填充,但最终没有结果。 我知道在父目录和子目录中有数百种这些文件类型。

How can I do a search like this in Windows 8 that returns results?

我该如何在Windows 8中进行这样的搜索以返回结果?

Is there an easy way for Sebastien to search for multiple file types at the same time?

Sebastien是否有一种简单的方法可以同时搜索多种文件类型?

答案 (The Answer)

SuperUser contributor AppsDev has the answer for us:

超级用户贡献者AppsDev为我们提供了答案:

Open Windows Explorer and in the top right search box type *.extension. For example, to search for text files you should type *.txt.

打开Windows资源管理器,然后在右上角的搜索框中键入* .extension 。 例如,要搜索文本文件,应输入* .txt

For multiple file types use Ext:.doc OR Ext:.txt OR Ext:.pdf. Hope this helps you.

对于多种文件类型,请使用Ext:.doc或Ext:.txt或Ext:.pdf 。 希望对您有帮助。

Special Note: As noted in additional comments in the discussion thread, make sure that the word “OR” is capitalized when doing a search for multiple file types.

特别说明:如讨论主题中的其他注释所述,在搜索多种文件类型时,请确保单词“ OR”为大写。



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/192997/how-do-you-search-for-multiple-file-types-at-the-same-time-in-windows-8/

windows文件类型判断