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

Share | 

 Sample Batch file Tutorial (Echo and Rem)

View previous topic View next topic Go down 
Academy Student (newbie)
Academy Student (newbie)

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

PostSubject: Sample Batch file Tutorial (Echo and Rem)   June 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)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
» [Tutorial] GTR2 AIW Creation Tutorial by ilu2404
» 3D Render Scenes
» Great Tank and Weathering tutorial
» Power Sword Tutorial (with more to follow)
» Instant Mold Tutorial

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