Find and insert text

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
techiemoore
Posts: 1
Joined: 30 Sep 2015 12:07

Find and insert text

#1 Post by techiemoore » 30 Sep 2015 12:12

Thank you in advance for your valuable time and attention.

I am very new to batch scripting and have just been reverse engineering existing batches to learn more and get what i need.

Right now, I need the script to insert the number "0" after the "5" in the string "12345678910" inside of a text document. In other words, i need to find any instance of "12345678910" in a given text file and then add a "0" after the "5" in each instance. So I need to edit an existing text document

Aacini
Expert
Posts: 1914
Joined: 06 Dec 2011 22:15
Location: México City, México
Contact:

Re: Find and insert text

#2 Post by Aacini » 30 Sep 2015 12:31


Post Reply