The problem with Windows Search is that it doesn’t content index all the file types. The content indexing is done for the plain-text file types. But, if you have a custom file type with plain text then it might not be indexed by the Windows Search. The good thing here is that you can change the file types that are content indexed so you can easily search any type of file based on a word or phrase.
File Types that are Content Indexed by Default
There are the file types that are content indexed by default. If your targeted file is of type that isn’t in this list then your file won’t be content indexed and, therefore, you won’t be able to search the file with words or phrases. If you don’t want to go through all the steps and you only have to do this search once then try the steps given below: This should search the file’s content. This is, of course, a very tedious way of searching this file. So, we highly recommend you follow the steps given in method 1. Once you are done with method 1, your settings will be changed and you won’t have to type anything extra from that point forward.
Method 1: Indexing Options
If your custom file type (or the file that you want to be content indexed) isn’t in the list of file types that are content indexed by default then you can add the file type via the Indexing Options. Follow the steps given below
That’s it. Now your chosen file type will be search for a word or a phrase as well. Note: If you want to always search within the file contents of a group of files or a folder then follow the steps given below
The files in this folder should now be searched for their contents as well.
How to Fix ‘Failed to Download File, the File contents Differ’ in Minecraft?How to View the Contents of a Text File from the Linux Command LineFix: iTunes Cannot Read Contents of the iPhoneHow to Remove Directory and It’s Contents in Linux