bat脚本调用函数 简单列子函数
@echo off echo "test fun stat" call :myDosFunc echo "test fun end" exit /B :myDosFunc echo "function" goto :EOF
参考http://blog.csdn.net/fallriver/article/details/2170245.net