@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
bat脚本里函数的定义与调用
最新推荐文章于 2024-08-14 21:00:35 发布