windowsfilesearchtextdirectory

How to search a text in the files under a folder in Windows operating system


In my windows machine I have a folder with multiple folders and multiple files under each folders different types of files. Example: .txt, .properties, .xml, .sh, .bat etc...

Now I want to identify the presence of a particular text in the files within the folder.

For Example : I want to Identify all the files which contains the word

"au.com.galaxy"

Is there any shortcut way to do it without opening and searching in each file ?


Solution

  • findstr /snipr "au\.com\.galaxy" *.*