How to Write Your First Batch Script Progarm

First Before Writing the Program.Make sure you follow below procedures.

1.Open Notepad or any text editor 

2.Next write your commands on your batch file

3.Then save your batch file as ".bat".For Example "myfirstprogram.bat "

4.Then open CMD and type file name along with your extension

My First Program

@echo off 
Title MY First Batch File
echo Hello!
echo This is My First Line
echo This is MY second Line

OutPut:

Hello!
This is My first Line
This is MY second Line

Snap:








Comments

Popular posts from this blog

How to use DIR Command

How to use ECHO Command