MUGEN Philippines

MUGEN Philippines is here to allow us the opportunity of experiencing a common interest. If you are a true fan of Mugen, like we are, then this is the place for you. You may chat with friends, share your Mugen creations with others, or view screenshots.
HomePortalGalleryFAQSearchUsergroupsRegisterLog in


 Sample Batch file Tutorial (Echo and Rem)

Go down 
Academy Student (newbie)
Academy Student (newbie)

Number of posts : 5
Reputation : 0
Points : 9
Registration date : 2009-03-13

Sample Batch file Tutorial (Echo and Rem) Empty
PostSubject: Sample Batch file Tutorial (Echo and Rem)   Sample Batch file Tutorial (Echo and Rem) Icon_minitimeJune 18th 2011, 8:29 am

I'll first show you the complete batch file and then explain what each line does.
@echo off
rem Start of your Batch File
echo Hello World!
echo My First Tutorial
simply copy and paste in notepad then
save it as .bat eg. (EchoTest.bat)

The first line (@echo off) is required to tell DOS not to display the succeeding lines on the monitor screen, and the "@" symbol tells DOS not to show the line itself.

"REM" which is short for "Remark". DOS does not execute these lines.

ECHO [message]
Display your message
echo Hello World
result in this..
Hello World

echo. insert next line.
echo Hello World!
echo Hello World!

will result to this..
Hello World

Hello World

and @pause simply pause your batch file. and displays the message Press any key to continue . . .
Back to top Go down
View user profile
Sample Batch file Tutorial (Echo and Rem)
Back to top 
Page 1 of 1
 Similar topics
» Curl Tutorial!
» ChessPad: A PGN file generator
» AOE_Fan's RMS Command Tutorial
» How to make .abk book ( Arena ) step by step... tutorial...
» Broken Sword 2.5 to Release in English

Permissions in this forum:You cannot reply to topics in this forum
MUGEN Philippines :: Scriptonite-
Jump to: