Batch File to edit text in an .ini file.
Posted on 2004-04-30
I know that there is probably an easy solution for this out there, but...
I have a file, we'll call it data.ini. The 6th line in this file is: Drive1=D:. This references my cdrom drive. However, I want to find an easy way to chage this to either M: or N:, and I figured creating a batch file would be a good way to do it. However, I can't seem to find a way to put commands in a batch file to edit text within a file.
I am a batch file novice, so please be gentle.