Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had Windows 7 recently, how can i search for files (*.pom files) which contain a string, using a filter so the search do not take a long time? is there a query language to use in the search tool bar? Thank you :)

share|improve this question

migrated from stackoverflow.com Jun 7 '13 at 16:09

This question came from our site for professional and enthusiast programmers.

3 Answers 3

Win+R

Run:

Search "search string" in file *.pom (fulltext search engines):

search-ms:query=(ext:.pom) "search string"

Search file *.pom except "search string" in file name:

search-ms:query=((ext:.pom)LIKE(-filename:"*search string*.pom"))

Search file *.pom AND "search string" in file name:

search-ms:query=((ext:.pom)LIKE(filename:"*search string*.pom"))
share|improve this answer
    
Thank you STTR for your reply, may be i was not clear in my first question, but i am seraching pom files which have in their content my string not in the name of the files ;) –  james baron Jun 7 '13 at 17:37
    
@jamesbaron Updated, see again. –  STTR Jun 8 '13 at 7:05

it doesn't work :( for me, it gives results for files (.pom) found inside (.rar) files, but in the same folder the rar files are unzipped so it should gives to me unzipped (.pom) files directly, may be i will use an external tool or console commands, thank you STTR

share|improve this answer
    
Yeah, I'd recommend an external tool like FileLocator Pro for this. –  snowdude Jun 26 '13 at 8:38
up vote 0 down vote accepted

Well I have found a tool named FileSearchEX that uses a search engine similar to the Windows XP search tool, it has a a trial period, but you can uninstall/install it many times if you want, it could be integrated to the explorer menu ;)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.