parsing through a text file using a batch

Dell / OPTIPLEX
October 29, 2009 at 12:28:21
Specs: Windows XP pro, P4/512
I had some great help yesterday with another issue and thought I would try this one.

I need to replace 12 characters in a text file with a different string of 12 characters. How could I do this in a batch script?

to get more specific its on the fifth line 37 characters in from the left and 14 in from the right.

I was planning on using the set /p to get the new info, as input from the user, and that will become the string that will be replacing the existing data.

Thanks in advance


See More: parsing through a text file using a batch

Report •


#1
October 30, 2009 at 01:37:29
jbravo, programing is a sorta specialized thing. Suspect you'll have more luck getting an answer if you ask your ? on the programing forum.
HTH.
Ed in Texas.

Report •

#2
October 30, 2009 at 06:43:45
I thought I was :)

Report •

#3
October 31, 2009 at 01:08:36
jbravo, try:
http://www.computing.net/forum/prog...
HTH.
Ed in Texas.

Report •

Related Solutions


Ask Question