Search found 2 matches

by karlo
20 Jun 2014 11:24
Forum: DOS Batch Forum
Topic: batch file inserting new lines before a string in text file
Replies: 7
Views: 11692

Re: batch file inserting new lines before a string in text

foxidrive, you are amazing! thanks. yes, it works.
by karlo
20 Jun 2014 09:26
Forum: DOS Batch Forum
Topic: batch file inserting new lines before a string in text file
Replies: 7
Views: 11692

batch file inserting new lines before a string in text file

need your help to develop a batch file in order to read / find a string in a text file and insert a new line "before" it; for instants, change the following text to (insert "R 100" before Z10) a 1 b 2 c 3 z 10 q 15 a 1 b 2 c 3 R 100 z 10 q 15 =====================================...