在 Windows 10 中搜索文件内容:(Search through file contents in Windows 10: )笔记本电脑或 PC 是您保存所有数据(如文件、图像、视频、文档等)的存储设备。您存储来自其他设备(如手机、USB、互联网等也保存在您的 PC 上。(Internet)根据保存数据的位置,所有数据都保存在不同的文件夹中。
那么,如果您想查找特定的文件或应用程序,您会怎么做?如果您打算打开每个文件夹,然后在其中查找该特定文件或应用程序,那么它将占用您大量时间。现在,为了解决上述问题,Windows 10提供了一项功能,您只需在搜索框中输入即可搜索您要查找的任何文件或应用程序。
此外,它不仅为您提供了搜索特定文件的机会,还让您只需键入您要查找的内容即可在文件的内容中进行搜索。尽管大多数人不知道Windows 10(Windows 10)中存在此功能,但要使用此功能首先需要启用它。因此,在本指南中,您将看到如何启用允许您在文件内容中搜索的功能以及Windows 10中可用的其他各种搜索选项。
在Windows 10上搜索任何文件的(Any File)文本(Text)或内容
确保 创建一个还原点(create a restore point) 以防万一出现问题。
方法 1:使用搜索框或 Cortana 进行搜索(Method 1: Search using the Search box or Cortana)
在所有Windows(Windows)版本中可用的基本搜索选项是“开始”菜单(Start Menu)中的搜索栏。Windows 10搜索(Search)栏比以前的任何搜索栏都更先进。通过与Cortana(Windows 10的(Windows 10)虚拟助手(virtual assistant))的集成,您不仅可以在本地 PC 下搜索文件,还可以发现Bing和其他在线资源中可用的文件。
要使用搜索栏或Cortana搜索任何文件,请按照以下步骤操作:
1.点击开始菜单(Start Menu),会出现一个搜索栏。
2.输入您要搜索的文件的名称。(Type the name of the file you want to search.)
3.所有可能的结果都会出现,然后你必须点击你正在寻找的文件。( click on the file that you were looking for.)
方法 2:使用文件资源管理器搜索(Method 2: Search using the File Explorer)
如果您正在查找文件并且知道它在哪个文件夹或驱动器中,那么您可以直接使用文件资源管理器(File Explorer)搜索该文件。找到文件所需的时间更少,而且这种方法很容易遵循。
为此,请按照以下步骤操作:
1.按Windows Key + E打开文件资源管理器。(File Explorer.)
2.从左侧选择您的文件所在的文件夹。(choose the folder under which your file is present.)如果您不知道该文件夹,请单击此 PC。(This PC.)
3.右上角会出现一个搜索框。
4.键入您要搜索的文件名,所需的结果将出现在同一屏幕上。单击(Click)您要打开的文件,您的文件将打开。
方法 3:使用“一切”工具(Method 3: Using the “Everything” tool)
您还可以使用名为“ Everything(Everything)(Everything) ”的第三方工具来搜索您 PC 上的任何文件。与内置搜索功能相比,它非常快,并且使用起来非常简单。它会在几分钟内创建个人电脑的搜索索引,当您使用它时,它会立即开始工作。它是非常轻量级和方便的应用程序。
如果您想快速搜索计算机上的任何文件,那么与其他集成搜索工具相比,Everything工具是最佳解决方案。(Everything)
上述所有三种方法都只会提供您 PC 上可用的文件名和文件夹。他们不会给你文件的内容。如果要搜索必备文件的内容,请使用以下方法。
方法 4:搜索任何文件的文本或内容(Method 4: Search for Text or Contents of Any File )
在Windows 10(Windows 10)中,可以使用开始菜单搜索(Start Menu Search)来搜索文件内容。如果您无法这样做,那是因为默认情况下该功能已关闭。(feature is turned off by default.)因此,为了使用此功能,您需要启用此功能。
要启用文件内容搜索功能,请按照以下步骤操作:
1.打开Cortana或搜索栏并在其中键入索引选项(Indexing options)。
2.单击将作为结果显示在顶部的索引选项,或者只需点击键盘上的输入按钮。(Indexing Options)下面会出现一个对话框。
3.单击底部可用的高级按钮。(Advanced button)
4.在高级选项下,单击文件类型(File types)选项卡。
5.下面会出现一个框,默认情况下所有扩展都被选中。
注意:(Note:)由于选择了所有文件扩展名,这将允许您搜索 PC 下所有可用文件类型的内容。
6.检查索引属性和文件内容(Indexed Properties and File contents)选项旁边的单选按钮。
7.单击确定。(OK.)
8.将出现重建索引警告框,警告您在重建完成之前可能无法搜索某些内容。(Index)单击“确定( OK)”关闭警告消息。
注意:(Note:)重建索引可能需要很长时间才能完成,具体取决于您 PC 上文件的数量和大小。
9.您的索引正在处理中。
10.单击高级(Advanced)选项对话框上的关闭。
索引完全完成后,现在您可以使用文件资源管理器(File Explorer)搜索任何文件中的任何文本或单词。为此,请按照以下步骤操作:
1.按Windows Key + E打开文件资源管理器。(File Explorer.)
2.从左侧,选择“这台电脑(This PC)”。
3.现在右上角有一个搜索框。(a search box is available.)
4. 在搜索框中键入要在可用文件内容中搜索的文本。所有可能的结果都将出现在同一个屏幕上。
注意:(Note:)如果您没有得到任何结果,则可能是索引尚未完成。
这将为您提供所有结果,其中包括文件内容以及包含您搜索的特定文本的文件名。
受到推崇的:(Recommended:)
所以你有它!现在,您可以在 Windows 10 上轻松搜索任何文件的文本或内容(Search for Text or Contents of any File on Windows 10)。但是,如果您对本指南仍有任何疑问,请随时在评论部分提出。
How to Search for Text or Contents of Any File on Windows 10
Search through file contents in Windows 10: Laptops or PCs are the storage devices where you keep all your data like files, images, videos, documents, etc. You store all kind of data and data from other devices such as phones, USB, from the Internet, etc is also saved on your PC. All the data is saved in different folders depending on the location where that data is saved.
So, if you want to look for a particular file or app, then what will you do?? If you are planning to open each and every folder and then look for that particular file or app in it, then it will consume a lot of your time. Now to solve the above problem Windows 10 comes with a feature which enables you to search whatever file or app you are looking for, by just typing it in the search box.
Also, it not only provides you an opportunity to search for a particular file but also lets you search among the contents of the files by simply typing what you looking for. Although most of the people are not aware that this feature exists in Windows 10, so to use this feature first you need to enable it. So, in this guide, you will see how to enable the feature that will allow you to search among the contents of the file and other various searching options available in Windows 10.
Search for Text or Contents of Any File on Windows 10
Make sure to create a restore point just in case something goes wrong.
Method 1: Search using the Search box or Cortana
The basic search option that is available in all the versions of Windows is a search bar available at the Start Menu. Windows 10 Search bar is more advanced than any of the previous search bar’s. And with the integration of Cortana (the virtual assistant of Windows 10) you can not only search for files under your local PC but you can also discover files available on Bing and other online sources.
To search any file using the search bar or Cortana follow the below steps:
1.Click on the Start Menu and a search bar will appear.
2.Type the name of the file you want to search.
3.All the possible results will appear, then you will have to click on the file that you were looking for.
Method 2: Search using the File Explorer
If you’re looking for a file and if you know in which folder or drive it is under then you can search for the file directly using the File Explorer. It will take less time for the file to be found and this method is quite easy to follow.
To do so, follow the below-given steps:
1.Press Windows Key + E to open File Explorer.
2.From the left side choose the folder under which your file is present. If you don’t know the folder then click on This PC.
3.A search box will appear on the top-right corner.
4.Type the file name you want to search and the required result will appear on the same screen. Click on the file you want to open and your file will open up.
Method 3: Using the “Everything” tool
You can also use a third-party tool called “Everything” to search for any file on your PC. It is very fast as compared to inbuilt search features and is very simple to use. It creates a search index of PCs within a few minutes and when you use the same, it starts working immediately. It is very lightweight and handy application.
If you want to quickly search any file on your computer then Everything tool is the best solution as compared to other integrated searching tools.
All the three methods above will give only file names and folders available on your PC. They will not give you the content of the file. If you want to search the content of the requisite file, then go for the below method.
Method 4: Search for Text or Contents of Any File
Searching through the file content is possible in Windows 10 by using the Start Menu Search. If you are unable to do so, then it is because that feature is turned off by default. So, in order to use this feature, you need to enable this feature.
To enable searching among file content feature, follow the below steps:
1.Open the Cortana or search bar and type Indexing options in it.
2.Click on the Indexing Options that will appear as a result on top or simply hit the enter button on the keyboard. Below a dialog box will appear.
3.Click on the Advanced button available at the bottom.
4.Under Advanced Options, click on File types tab.
5.Below a box will appear in which by default all the extensions are selected.
Note: As all the file extensions are selected, this will allow you to search through the contents of all types of files available under your PC.
6.Check the radio button next to Indexed Properties and File contents option.
7.Click on OK.
8.A Rebuilding Index warning box will appear which gives you a warning regarding some content may not be available under search until the rebuilding is finished. Click OK to close the warning message.
Note: Rebuilding the index might take a long time to complete depending upon the number & size of the files on your PC.
9.Your indexing is in process.
10.Click close on the Advanced options dialog box.
After the indexing is completely finished, now you can search for any text or word in any file using the File Explorer. To do so, follow the below-given steps:
1.Press Windows Key + E to open File Explorer.
2.From the left side, choose “This PC“.
3.Now from the right top corner, a search box is available.
4.Type the text in the search box you want to search among the content of the available files. All the possible result will appear on the same screen.
Note: If you do not get any result, then it is possible that indexing has not been completed yet.
This will give you all the results which include both the content of files as well as the file names which contain that particular text which you searched.
Recommended:
So, there you have it! Now you can easily Search for Text or Contents of any File on Windows 10. But if you still have any queries regarding this guide then feel free to ask them in the comment’s section.