Into to windows batch programming

We can use windows command prompt to execute individual commands. But there are some problems with that approach.
  • We need to type same commands again and again.
  • We can not reuse the commands.
  • We can not use programming constructs (conditions/loops) at command line.
This is when batch programming comes in to picture. In batch programming, we have more power. Just like how we can write custom code in high level language, batch programming provides you more features. Windows batch files have .bat extension.
Complex problems, Simple Solutions