中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 02:27
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » How can I loop and insert two lines after each line in a text file?
Printable Version  813 / 2
Floor1 qdfeng Posted 2010-07-06 10:25
新手上路 Posts 7 Credits 8
For example: original text content aaaaaa
bbbbb
ccccccccc
Loop and insert one line of string after each line:
aaaaaa
oooooooooooooo
55555555555555
bbbbb
oooooooooooooo
55555555555555
ccccccccc
oooooooooooooo
55555555555555
Could the experts please help me out? Thanks

[ Last edited by qdfeng on 2010-7-6 at 11:30 ]
Floor2 slore Posted 2010-07-06 13:00
铂金会员 Posts 2,478 Credits 5,212
Floor3 qdfeng Posted 2010-07-06 17:06
新手上路 Posts 7 Credits 8
Thanks very much, it's very useful!!!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023