How to create blank line in batch file
My dell desktop is installed with windows XP. I am creating a batch file for some reason and i am not able to insert a blank line in the batch file but i am not able to do this. so please help me to create a blank line in the batch file so that the text appears separated to some extent. i would appreciate your help.
Re: How to create blank line in batch file
Try to use the echo command in order to add a space in the batch file. The batch will not display a space t will simply display the text echo is on or echo is off. If you really want to display a line type echo and a period using no spaces in between them. This should help you to solve this problem.
Re: How to create blank line in batch file
I think that you will have to add a dot (.) or period after the echo command in your batch file code , for instance see the command which i have mentioned below instead of inserting the echo command by simply typing echo you will have to type. The echo command with a dot will definitely create a blank line echo.
Re: How to create blank line in batch file
Insert echo off at the beginning and the dot "." will not be displayed i have provided the an example how to use that so try to use it for your reference.
echo off
echo blank lines below then pause.
echo.
echo.
pause
Hope you got the trick.
Re: How to create blank line in batch file
If you want to insert a line in your batch file then you need to add a dot right after the echo command. Like i have shown below
echo.
You can also try to insert the blank line by inserting a character by pressing ALT+255 in your batch file. But i would recommend you to use 'echo.' Since this is standard and it will work in all versions of MS-DOS and Windows.