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 Tools → Folder options → Search → "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:
andcontent:
.So the search you would perform is "
content:table_abc type:.sql
" without quotesHere 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