你怎么能回响在批处理文件换行符? [英] How can you echo a newline in batch files?
本文介绍了你怎么能回响在批处理文件换行符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你如何可以从您的批处理文件输出中插入新行?
我想要做的是这样的:
>回声你好\\ nworld
这将输出:
您好
世界
块引用>解决方案
回声你好&安培; echo.world
这意味着你可以定义
&安培;回音。
作为常数一个换行符。How can you you insert a newline from your batch file output?
I want to do something like:
> echo hello\nworld
Which would output:
hello
world
解决方案
echo hello & echo.world
This means you could define
& echo.
as a constant for a newline.这篇关于你怎么能回响在批处理文件换行符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文