This may be a stupid question but even after reading the documentation I'm still not sure how to find all lines in a file that contain either ".cpp" or ".h".
Is there a way to do that?
For example (doesn't work):
findstr /i .cpp,.h // , == OR
Give this a shot, should work for you.
Wrap both within quotes and separate with a space. Note, you also have to escape the . in both of them.