Wednesday, August 4, 2010

Showing Message

1. Open your notepad, and save it with name test.bat

2. Type syntax below :

@echo off
echo Hello Batch, I'm Coming
pause

3. Save it, and try to open it. What happened? You'll find text "Hello, Batch I'm Coming" and below the text "press any key to continue". Understand? echo syntax is for showing message in your cmd, and pause is for pausing your cmd (press enter to exit or any key).

4. So, try to change @echo off with @echo on, what happened? Understand?

No comments:

Post a Comment