中国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-16 06:57
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » How do I write multiple lines of text to a file in a batch file?
Printable Version  680 / 2
Floor1 yiran Posted 2003-11-29 00:00
初级用户 Posts 19 Credits 187
Right now I only know how to write one line of text, using echo the text to be entered > a.txt
If I want to write multiple lines of text, how should I do it?
Floor2 龙王 Posted 2003-12-01 00:00
银牌会员 Posts 334 Credits 1,186
Use the same method, just add another >
echo the text to be entered > >a.txt
Floor3 yiran Posted 2003-12-02 00:00
初级用户 Posts 19 Credits 187
Thanks, Dragon King, the problem is solved
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023