How to Make a Batch File

Wednesday, February 23, 2011

This is an introduction before I create some command prompt commands (CMD) tutorial in this blog. How to Make a Batch File ? sure, I thinks it's a good for first title in this blog. okay, following the steps to make batch file on windows computer :
  • Open Notepad
    (on Start- All program -Accessories - Notepad)
  • write down your command Prompt commands (CMD), example:
    @echo off
    Title this is my first CMD program
    echo Hi world ! I'm coming
    pause>nul
  • Save it with .bat extension
    (example: myProgram.bat )
  • Double click on the file "myProgram.bat" and see how program will run.
okay, I hope it's useful for you to understand how to make a batch file. so,then you only need the CMD codes to make a batch program.