Could someone give me an example of a Command line search for a word or phrase in files?
The following search produces an Everything window that shows all files containing the string "smith" in the filename:
Code: Select all
"C:\Program Files\Everything\Everything.exe" -search "smith" -newwindow
But I want to create a command line that searches for the word "smith" in the body/content of files ending in .txt, .asp, .htm, .html, .doc, .docx, etc. --- If that is possible, how would I code that search?
Thank you for any help, even if it's only to some reference page.