Windows – How to echo a newline in a batch file

batch-filenewlinewindows

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

Best Answer

Use:

echo hello
echo.
echo world