Learn Batch programming

In this instuctable (batch really) imma teach you how to batch program. (this is my first so please be gentle)

1

Step 1: Download this batch.

copy this code (i know its long but its the only way i know how to get it on.)

@echo off
color 0c
echo welcome to the basic batch programing.
echo –
echo this batch file is to help you understand and learn batch coding.
echo –
PAUSE
echo –
echo note: any number like this (8) means * and (2) means @
echo –
PAUSE
echo –
echo open notepad.
echo –
PAUSE
echo –
echo now that you have notepad open type in @echo off
echo –
PAUSE
echo –
echo now hit enter. please remember that after a line you must press enter.
echo –
PAUSE
echo –
echo now that you hit enter (im sure your not retarted)
echo –
PAuse
echo –
echo type echo then hit space
echo –
PAUSE
echo –
echo now type “this is my practice batch”
echo –
PAUSE
echo –
echo now that you have done that dont forget to press enter button
echo –
PAUSE
echo –
echo now type echo –
echo –
PAUSE
echo –
echo ok so now type PAUSE
echo –
PAUSE
echo –
echo now im sure your wondering how the text is red. well thats next
echo –
PAUSE
echo –
echo ok so how the text is red is this code color 0c
echo –
echo the number is the background and the letter is the text.
echo –
PAUSE
echo –
echo now imma make the text purple
echo –
PAUSE
color 0d
echo –
echo ok so now i want you to type in color 0a
echo –
echo this will make the text green and the background black
echo –
PAUSE
echo –
echo ok after you do that hit enter and move on
echo –
PAUSE
echo –
msg * welcome to the next level of batch
echo –
PAUSE
echo –
msg * to do this message style box type in msg (8)
echo –
msg * this you dont have to type pause as the next box comes up after the last one is closed.
echo –
msg * ok now type msg (8) into the notepad
echo –
PAUse
echo –
msg * now type in “this is a message from me.”
echo –
echo now hit enter and add another PAUSE command at the end.
echo –
PAUSE
echo –
msg * ok so know that you know the basics of cmdprompt click save as
echo –
PAUSE
echo –
msg * ok so now save it as practicebatch.bat TO YOUR DESKTOP
echo –
PAUSE
echo –
msg * thank you for using my instuctable. this was made by life-is-beautiful.
echo –
PAUSE

Step 2: Ok now to save

2

ok now copy into notepad. and then hit save as and then save to your desktop as instuctable.bat
you should get something like this. (dont save into wordpad. wordpad does not support batch codes.)

Step 3: Then follow the steps

to help you program a batch.
(if anything is unclear private message me and i will help to as best i can. or give info on a step)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s