After a long time working with Unix systems, I had to make some scripts on Windows. For serious scripts, Powershell is the tool you should use. You can search the Internet with keywords such as powershell find string in file , or other combinations, and you will find a lot of information. What's the problem, simple oneliner like
get-childitem C:\yourdir -include *.c -recursive |Select-String -pattern sqlcommand
will not help you. You need to find the PowerShell IDE, learn the different syntax and try to love / accept new things.
Get ready to learn with PowerShell when you want to do this more often, or try to get a Unix-like environment on your windows (cygwin or better git for Windows).
source share