Windows Batch TutorialIntroduction First batch program Special characters in Batch programming Accepting user input Operators in Batch scripting Working with variables Integer operations Floating point operations Conditional Statements Looping statements goto statement Writing functions Passing arguments Returning exit code
First script in windows batchLet’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.
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”.
@echo off echo hi pause
Web development and Automation testing