Most recently, I swore that I could not find a console working utility for finding and replacing substrings in files for Win. As a result, he wrote himself, so maybe someone will come in handy:
Caution! Searches for and replaces files not only in the specified directory, but also in all subdirectories. ')
SREPLACE [options] [source file or mask] [search str] [replace str] -i - ignore case -q - quiet mode EXAMPLE: SREPLACE -i. \ Myfiles \ *. Txt simple hard