Windows – How to search for file extension and content in Windows 7

searchwindows 7

In Windows XP this was very simple, but for some reason in Windows 7 it is not…

I want to search for all files from C given an extension "example: *.sql" that contains the content "table_abc".

I searched and the only information I got was to change ToolsFolder optionsSearch"always search file names and contents…", but this is not what I am looking for.

Best Answer

In the search bar on the upper right hand corner of the file explorer you need to add the prefix type: and content:.

So the search you would perform is "content:table_abc type:.sql" without quotes

Here is an image for reference. In it I searched for a .sql file containing the word "object_data". The search I performed was type:.sql content:object_data


Search

Related Question