Pages

Monday, 5 December 2011

How To Search For Text Inside of Any File Using Windows Search

Many of us rely on Windows Search to find files and launch programs, but searching for text within files is limited to specific filetypes by default. Here’s how you can expand your search to include other text based files.

What about searching for text inside of .html, .php, .js, and other text based web and scripting files. Windows search also allows you to include other file extensions with a few simple clicks.

First, go to your control panel and open the indexing options.

Now click on advanced and then file types in the new window.

Find the extension of the file you would like to search the contents of and then click on the index properties and file contents radio button at the bottom of the window.

The filter description column should automatically changed to whatever filter is used to open that filetype by default.

If the filetype you are looking for is not in the list it means you do not have a program set as the default handler for that filetype. You can add the extension to the list and by default Windows Search will use a plain text filter to search the file contents.

If you search for text inside one of the new filetypes it should now show up in your search results, once the index is doing being rebuilt.

If you’d like to always search within file contents for a specific folder, navigate to the folder you want search contents for and click organize then folder and search options.

Click on the search tab and then click the always search file names and contents radio button.

The index will need to be rebuilt again and once it’s done your searches will automatically look in file content.

No comments:

Post a Comment

Recent Comments

Ebook Google Adsense