版权声明:***本文为博主原创文章,未经博主允许不得转载。*** https://blog.csdn.net/rrrrrr123rrr/article/details/77914459
CMD 调用子程序&从子程序返回
sample
@echo off
echo start
:main
echo into main
call :sub
echo back to main
pause
exit
:sub
echo into sub
goto :eof
output
start
into main
into sub
back to main
请按任意键继续. . .