如何在批处理文件中回显换行符?

问题描述:

如何从批处理文件输出中插入换行符?

How can you you insert a newline from your batch file output?

我想做类似的事情:

echo hello\nworld

哪个会输出:

hello
world

echo hello & echo.world

这意味着您可以将& echo.定义为换行符\n的常量.

This means you could define & echo. as a constant for a newline \n.