First script in windows batch

Let’s go ahead and write our first batch program. Create one file “simple.bat” and store below lines in it. Don’t worry about the syntax at the moment.
 
@echo off
echo hi
pause

To execute this file, you can double click on the file or you can run it from the command prompt. As you can see in below image, it prints the message “hi”.

Web development and Automation testing

solutions delivered!!