
CODE: [Copy to clipboard]在执行@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>
| Quote: | |
|
B:\PERL>type xecho.bat
@echo one^
^
^
the end^
goodbye
B:\PERL>xecho.bat
one
the end goodbye
B:\PERL>
CODE: [Copy to clipboard]在CMD下使用:@echo 123^
456^
789
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |