联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off :start_echo set start_echo=%1 if not defined start_echo goto end echo %1 shift goto start_echo :end
E:\Cmd>type xecho.bat @echo this is the first line for echo^ this is the second line^ the end E:\Cmd>xecho.bat this is the first line for echo this is the second line the end E:\Cmd>
Originally posted by kidzgy at 2008-1-15 18:54: 版主,如果多行中间需要用空格空的呢?怎么办?
B:\PERL>type xecho.bat @echo one^ ^ ^ the end^ goodbye B:\PERL>xecho.bat one the end goodbye B:\PERL>