You can use DOS port of Unix command line utility "tr".
A free DOS port can be found here, one of the ones I like (there are many different ones) are "UXUTL — Comprehensive collection of command line Unix utilities for DOS."
The benefit is that you get a WHOLE BUNCh of incredibly useful commands, not just tr.
Even though this question is quite old, future reader may be interested to know that if you want a small exe with no dependencies for just replacing text I recommend using FART.
you can install unxutils and then do
to change words or
to change characters
You can use DOS port of Unix command line utility "tr".
A free DOS port can be found here, one of the ones I like (there are many different ones) are "UXUTL — Comprehensive collection of command line Unix utilities for DOS."
The benefit is that you get a WHOLE BUNCh of incredibly useful commands, not just tr.
You have to use WIN32 SED and see the official gnu sed page for explanation. It is really powerful :
You can search for a command line program like GREP you can call from a batch that will take a replace string and a file and do the swap for you.
Use sed or nothing:
sed can be download here, for various platforms.
Even though this question is quite old, future reader may be interested to know that if you want a small exe with no dependencies for just replacing text I recommend using FART.