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
goto statement in windows batchgoto statement is used to move the script control to specific line. In below example, if the file choice1.bat exists, control is jumped to lable “L1”. Labels are user defined.
@echo off IF EXIST choice1.bat GOTO L1 Goto Finish :L1 ECHO Script jumped to L1.. ECHO File choice1.bat exists :Finish
Web development and Automation testing