1.新建一个txt文件 2.复制下面命令到txt文件 echo "Start build..." call ant.bat -f "E:\build.xml" echo "End" Pause 3.保存后,将txt的后缀改为.bat,即可 相关文章: