dos打开新的窗口运行命令
事情的起因是我要运行多个pythod文件,如果直接使用call 就会有问题,
因为是串行的,所以只能打开一个,因为要使用并行的去执行python文件,
这里用到的是start call xx.bat就是打开一个新的窗口执行xx.bat,具体
的执行参考如下:
title run python
cls
:: I-AGENT
cd D:\bat\python\01.iagent
start call 01.run.bat
start call 02.run.bat
:: 02.salesplus_uat
cd D:\bat\python\02.salesplus_uat
start call 01.run.bat
start call 02.run.bat
::start call 03.run.bat
:: 03.salesplus_sit
cd D:\bat\python\03.salesplus_sit
start call 01.run.bat
start call 02.run.bat
:: 04.masterplanner
cd D:\bat\python\04.masterplanner
start call 01.run.bat
start call 02.run.bat
:: 05.salesplus_prod
cd D:\bat\python\05.salesplus_prod
::start call 01.run.bat
:: 06.bomb
cd D:\bat\python\06.bomb
start call 01.run.bat
::start call 02.run.bat
:: 07.superplanner
cd D:\bat\python\07.superplanner
start call 01.run.bat
start call 02.run.bat
start call 03.run.bat
start call 04.run.bat