In Batch scripting, outputs are handled with the echo command.

Outputting a String

To output a string, simply use the command echo, followed by what you want to display

echo This is a string

This would output:

This is a string

You can also output multiple lines by using echo{:shell

Outputting Special Characters

Some special characters, like <, > or | are reserved characters.
To use them, simply add the escape character ^ before a reserved character.

echo This statement is true: 3 ^< 4

Outputting Blank Lines

To output a blank line, simply use the command echo without outputting anything.
This would output a blank line instead.

echo This line is above a line break 
echo.
echo This line is below a line break

This would output:

This line is above a line break 

This line is below a line break

Pausing Execution

When running a batch script, it runs each command for you, then automatically exits the command line without displaying the results.

To navigate through this, we use the pause command.
It temporarily stops command execution until the user presses a key.