.bat goto code example
Example: batch goto
REM # | EXAMPLE
@echo off
echo "aaa"
goto SkipBbbEcho_Label
echo "bbb"
:SkipBbbEcho_Label
echo "ccc"
REM # | Output:
REM # | aaa
REM # | ccc
REM # | ------------------------------------------------------
REM # | SYNTAX
REM # | goto <label-name>
REM # | :<label-name>
REM # | ------------------------------------------------------