|Let's say I have a text file with a few hundred |
lines of text:
I need a batch file that will search for the text
string "password" and then replace the whole
line, including everything after the equal sign.
I am using a program that uses
the above information to log in. But the
program encrypts the password value after the
first time it uses it. Hence I need to find the
line containing "password" and replace the whole
An alternate solution would be to find the string "password=" and then replace anything following in that line with whatever I specify. I just figure that the first approach is the simplest.