Echo a Blank Line

Have you ever wanted to echo a blank line in your batch files? Well, all you need to do is to add a dot or period (without any spaces) after the ECHO command as shown in the tenth line of the example below.

TITLE IP Information v1.0
@ECHO OFF
cls
color 1F
echo —————————————-
echo IP Information v1.0
echo —————————————-
echo (A) Retrieve the IP Information.
echo (B) Prints the IP Information.
echo.
echo * Be sure the default printer is on.
pause

If you had just type the ECHO command alone without the dot or period in line ten, it would have displayed the current echo setting (ie. ON or OFF) to the display. While on the Command Prompt, you can utilize a parameter to retrieve a list of ECHO Commands.

The following two tabs change content below.
facebook-profile-picture

Stephan Pringle

Technology Support Specialist at Sipylus
About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture

Latest posts by Stephan Pringle (see all)

facebook-profile-picture

Stephan Pringle

About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.