How to create a blank line in a batch file

Updated: 04/26/2017 by Computer Hope
Batch file

To create a blank line in a batch file, add an open bracket or period immediately after the echo command with no space, as shown below.

Tip

Adding @echo off at the beginning of the batch file turns off the echo and does not show each of the commands.

@echo off
echo There will be a blank line below.
echo.
echo Above line is blank.
echo.
echo The above line is also blank.

An alternate solution could be to insert a blank ASCII (American Standard Code for Information Interchange) character by typing Alt+255 in the batch file. Although this solution can work, we still recommend using the above solution since it works in all versions of MS-DOS and Windows.