BATCH PROGRAMMING
Created by
Bichiko
Kodua16,12,2013
• What is batch programming?
• Why we need to know this kind of programming language?
• Where we can use it?
WHAT IS BATCH PROGRAMMING?
• First of all,batch has no his graphical mode but it is very simple to create
batch file, because it creates everywhere where you can type letters…
Just all you need to know is to save it as batch format and nothing more.
WHY WE NEED TO KNOW THIS KIND OF
PROGRAMMING LANGUAGE?
• This prgoramming language has no the same abilitys as C++ or Java and so
on but this language works at windows platform this is very huge plus and it is
very easy to make installation programs ,task schedulers in the batch mode
and very hard to do same in java or C++…
WHERE WE CAN USE IT?
• Imagine that we create some kind of programe, the first step is done but
than we also need to sort out installing problem So installation process is
exactly batch programming
It is an example how to create a simple task to run our scan program weekly in
every Monday at 12 o’clock…
SCHTASKS /Create /SC WEEKLY /D SUN /TN SCANNER /TR name.exe /ST
12:00 /ET 14:00
Windows has command line where we
can type commands .The syntax is
same, all CMD commands work in
batch program but all batch command
does not work in command line…
HOW TO MAKE BAD PROGRAMS
IN BATCH FILE
There are many kind of such programs and now I am going to show you a one.
For example: we want to create a programme which shutdowns computer at
start up without permition in about 10 seconds…So what we should do?
• Start notepad
• Type the code which will shutdown the computer
• Save it as a bat format
• Start again notepad
• Type the code to copy first programe in the start up folder and it’s done
• Batch programming has lot of abilitys and it is imposible to say everything in
15 minutes… So if you want to improve your knowledge in batch
programming you can type command “help” in CMD which helps you to do
basic tasks…
THANKS FOR ATTENTION

Batch programming

  • 1.
  • 2.
    • What isbatch programming? • Why we need to know this kind of programming language? • Where we can use it?
  • 3.
    WHAT IS BATCHPROGRAMMING? • First of all,batch has no his graphical mode but it is very simple to create batch file, because it creates everywhere where you can type letters… Just all you need to know is to save it as batch format and nothing more.
  • 4.
    WHY WE NEEDTO KNOW THIS KIND OF PROGRAMMING LANGUAGE? • This prgoramming language has no the same abilitys as C++ or Java and so on but this language works at windows platform this is very huge plus and it is very easy to make installation programs ,task schedulers in the batch mode and very hard to do same in java or C++…
  • 5.
    WHERE WE CANUSE IT? • Imagine that we create some kind of programe, the first step is done but than we also need to sort out installing problem So installation process is exactly batch programming
  • 6.
    It is anexample how to create a simple task to run our scan program weekly in every Monday at 12 o’clock… SCHTASKS /Create /SC WEEKLY /D SUN /TN SCANNER /TR name.exe /ST 12:00 /ET 14:00
  • 9.
    Windows has commandline where we can type commands .The syntax is same, all CMD commands work in batch program but all batch command does not work in command line…
  • 10.
    HOW TO MAKEBAD PROGRAMS IN BATCH FILE There are many kind of such programs and now I am going to show you a one. For example: we want to create a programme which shutdowns computer at start up without permition in about 10 seconds…So what we should do?
  • 11.
    • Start notepad •Type the code which will shutdown the computer • Save it as a bat format • Start again notepad • Type the code to copy first programe in the start up folder and it’s done
  • 13.
    • Batch programminghas lot of abilitys and it is imposible to say everything in 15 minutes… So if you want to improve your knowledge in batch programming you can type command “help” in CMD which helps you to do basic tasks…
  • 14.