demo.bat(位于G:\code)
@echo off echo helloword
main.bat(位于D盘)
@echo off echo 调用 G: cd G:\code call demo.bat pause