If MS-DOS should display a message that you use in your batch program echo command, like this example:
echo text files are saved to drive A
to prevent MS-DOS displays commands as they are running, use the following command:
echo off
You can insert messages into a batch program so that you will be prompted to enter additional information or recalls a special batch program from the task performed. If MS-DOS should display a message on your screen, use the echo command. For example, the following command tells MS-DOS "Insert a floppy disk in drive A," the message, type:
echo A disk in drive A, insert
In a network environment, your message will be displayed more quickly if you paste it into a .Txt file and type in the batch program use the command to display the message. MS-DOS displays this message on the screen. If the message type is to be moved by a certain number of spaces to the right, you need the spaces as part of the message. If the message is displayed on the screen, for example, centered, add the necessary spaces to the command:
echo A disk in drive A, insert
If you want to skip a line, type echo after a dot:
echo.
Bookmarks