The FIND Command
To search for text in multiple files from the Windows command prompt or batch files, you can use the FIND command, which has been present since the days of MS DOS and is still available in Windows 11. It's similar to the Unix grep
command, but does not support regular expressions. If you want to search for the word borogoves
in the current directory, please follow this syntax:
find "borogoves" *
Note that the double quotes around the pattern are mandatory. If you are using PowerShell, you will need to include single quotes as well: