I need to figure out a method to find and replace text within a text file.
I have a file named, "myfile.txt" that has the following;
testing=1
database=500
rules=30
I want the batch file to find database=500 and insert destination=300 under it.
I want it to look like this;
testing=1
database=500
destination=300
rules=30
I have a file named, "myfile.txt" that has the following;
testing=1
database=500
rules=30
I want the batch file to find database=500 and insert destination=300 under it.
I want it to look like this;
testing=1
database=500
destination=300
rules=30