@echo off
cd %~dp0
call :myfunction1 para1 para2
call :myfunction2 arg1 arg2
pause
exit b
:myfunction1
echo This is my function1, %1 %2
exit /b
:myfunction2
echo This is my function2, %1 %2
exit /b
@echo off
cd %~dp0
call :myfunction1 para1 para2
call :myfunction2 arg1 arg2
pause
exit b
:myfunction1
echo This is my function1, %1 %2
exit /b
:myfunction2
echo This is my function2, %1 %2
exit /b