Computing.Net > Forums > Windows XP > parsing through a text file using a batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

parsing through a text file using a batch

Reply to Message Icon

Name: jbravo
Date: October 29, 2009 at 12:28:21 Pacific
OS: Windows XP pro
CPU/Ram: P4/512
Product: Dell / OPTIPLEX
Subcategory: Software Problems
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Ed in Texas.
Date: October 30, 2009 at 01:37:29 Pacific
Reply:

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.


0

Response Number 2
Name: jbravo
Date: October 30, 2009 at 06:43:45 Pacific
Reply:

I thought I was :)


0

Response Number 3
Name: Ed in Texas.
Date: October 31, 2009 at 01:08:36 Pacific
Reply:

jbravo, try:
http://www.computing.net/forum/prog...
HTH.
Ed in Texas.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: parsing through a text file using a batch

Batch file parsing a text file www.computing.net/answers/windows-xp/batch-file-parsing-a-text-file/174226.html

Delete lines form file using batch www.computing.net/answers/windows-xp/delete-lines-form-file-using-batch/177936.html

Batch File Parsing a text file www.computing.net/answers/windows-xp/batch-file-parsing-a-text-file-/151425.html