Zaidy036
2022-06-29 18:27:49 UTC
Is it possible to call a Subroutine from inside another Subroutine?
Example:
:: Main batch
CALL :_One
some commands
CALL :_TWO
some commands
EXIT or CMD /K
:_One
some commands
GOTO :EOF
:_Two
some commands
CALL :_One <------ Will not work so how can this be done?
GOTO :EOF
Example:
:: Main batch
CALL :_One
some commands
CALL :_TWO
some commands
EXIT or CMD /K
:_One
some commands
GOTO :EOF
:_Two
some commands
CALL :_One <------ Will not work so how can this be done?
GOTO :EOF