Bat file insert a word every 10 lines

Custom / CUSTOM
May 17, 2009 at 11:01:05
Specs: Microsoft Windows XP Professional, 2.999 GHz / 3326 MB
Hello, i been trying to google and figure out how to add a text/word every 10 or 15 lines... for example i wan't to insert echo a pause command every 10 lines on a text file.. im witting a bat script that will call that file and i need to pause every 10 lines to prvenet for it to freeze..

line1
line2
line3
line4
line5
line6
line7
line8
line10
pause
line11
line12

ect... to insert a word every 10 lines or so.. is it possible? i found this but it insert it every line...

http://www.computing.net/answers/pr...


See More: Bat file insert a word every 10 lines

Report •


#1
May 17, 2009 at 18:08:47
so why don't you try setting the "2" to "10".

Report •
Related Solutions


Ask Question