Batch To Find Text & Add New Line Of Text

April 6, 2010 at 08:01:31
Specs: Windows
I want to create (but am too stoopid) a batch to search the directory including sub folders for a *.cue file, when found search inside the *.cue for the string ( TITLE "*") then add on the next line ( FLAGS DCP)

note: minus the brackets, including the 4 spaces in front as follows.

Before

TITLE "*"
PERFORMER "*"
INDEX 01 00:00:00

After

TITLE "*"
FLAGS DCP
PERFORMER "*"
INDEX 01 00:00:00

It also needs to continue to the end of document, adding the new line at each occurrence before saving and continuing to the end of the directory/sub folders


See More: Batch To Find Text & Add New Line Of Text

Report •


#1
April 6, 2010 at 15:24:24
This should be posted in the Programming Forum here:

http://www.computing.net/forum/prog...

Home Page http://ewen.uuuq.com/


Report •

#2
April 6, 2010 at 17:54:37

Report •

Related Solutions


Ask Question