While having a cygwin installed in windows gives most of unix command, still i was wondering how to search multiple filetypes in one command using windows \"find\" command.
findstr /p /s /i .
above command searches for the given text in current directories and sub directories. /n will print the line numbers too.
This will locate all files with the given extensions in the current working directory and all subdirectories:
dir *.cpp *.h *.java /b/s
See https://technet.microsoft.com/en-us/library/cc755121.aspx for more info on using dir
.