Saturday, June 12, 2010

My simple batch file tutorial [Part 1]

Today is officially the World Cup fever get started but to get off my mind a bit from the football, I decided to learn a bit about Batch Programming ! 


(Erm ... You will not create something like this aka GUI )

To anyone who is very interested to learn programming, batch programming is the simplest programming of all even compared to Visual Basic ! :)

Why ? 

Fewer commands to perform computer operations

which leads to 

fewer mistakes during the programming 

which leads to

time saving  for programming and debugging

In part 1 , I will clarify to you on some thing

(1) You will not be able to create a GUI (Graphic User Interface) or WYSIWYG just from batch programming

(2) As with the real world, there are 2 sides to everything, if you wish to create virus from batch programming , just go ahead but face the consequences later

(3) All the codes that are shown will work in Window Vista , haven't try that out on Window XP.

Got it ? Right .... Now let me started by giving just a *brief* introduction to batch programming 

Batch programming is the native programming language that is found in most version of Windows operating system including Window 7. It is also one of the few languages that are case insensitive which pretty much means that whether you type "echo" or "ECHO" are same to the compiler eyes.  

Ok, what do you need ?

Just the trusty old Notepad.exe is enough 


Will be continued ....

No comments:

Another random post to read ? Come !

Related Posts with Thumbnails