深入分析C++中执行多个exe文件方法的批处理代码介绍
本文导语: 不同目录下的多个二进制执行文件的批处理代码 @echo offpushd "G:apache-activemq-5.5.0-binapache-activemq-5.5.0bin"start /min "" G:apache-activemq-5.5.0-binapache-activemq-5.5.0binactivemq.batpopdping 127.0.0.1 -n 5 pushd "G:backup2011-10-31exchangePlatformbin"start /min ...
不同目录下的多个二进制执行文件的批处理代码
@echo off
pushd "G:apache-activemq-5.5.0-binapache-activemq-5.5.0bin"
start /min "" G:apache-activemq-5.5.0-binapache-activemq-5.5.0binactivemq.bat
popd
ping 127.0.0.1 -n 5
pushd "G:backup2011-10-31exchangePlatformbin"
start /min "" G:backup2011-10-31exchangePlatformbinmjs_start.bat
popd
rem pushd "G:backup2011-10-31exchangePlatformbin"
rem start /min "" G:backup2011-10-31exchangePlatformbinmjs_start.bat
rem popd
ping 127.0.0.1 -n 10
pushd "G:HyCodeuniPlatformbin"
start G:HyCodeuniPlatformbinrun.bat
popd
pause
==================================================================================================
相同同目录下的多个二进制执行文件的批处理代码(mjs_start.bat)
@echo off
echo starting tradeSys...
start /min "" tradeSys1021.exe
ping 127.0.0.1 -n 5
echo starting matchSys...
start /min "" matchSys.exe run
ping 127.0.0.1 -n 2
echo starting CalculateSys...
start /min "" CalculateSys.exe run
ping 127.0.0.1 -n 2
echo starting quotSys...
start /min "" quotSys.exe run
ping 127.0.0.1 -n 2