Pages

Wednesday, February 24, 2010

batch file part-3 (examples)

How to create a blank line in a batch file.


Issue:

How to create a blank line in a batch file.

Reasoning:

It may be necessary to create a blank line to help separate text from other text or move text further down the screen.

Solution:

To create a line add a dot or period after the echo command, for example:

echo.

An alternate solution could be to insert a blank character by typing ALT+255 in the batch file. Although this solution can work, we recommend using 'echo.' as it is a solution that will work in all versions of MS-DOS and Windows.


No comments: