深入分析C++中執(zhí)行多個exe文件方法的批處理代碼介紹
不同目錄下的多個二進制執(zhí)行文件的批處理代碼
@echo off
pushd "G:\apache-activemq-5.5.0-bin\apache-activemq-5.5.0\bin\"
start /min "" G:\apache-activemq-5.5.0-bin\apache-activemq-5.5.0\bin\activemq.bat
popd
ping 127.0.0.1 -n 5
pushd "G:\backup2011-10-31\exchangePlatform\bin"
start /min "" G:\backup2011-10-31\exchangePlatform\bin\mjs_start.bat
popd
rem pushd "G:\backup2011-10-31\exchangePlatform\bin"
rem start /min "" G:\backup2011-10-31\exchangePlatform\bin\mjs_start.bat
rem popd
ping 127.0.0.1 -n 10
pushd "G:\HyCode\uniPlatform\bin"
start G:\HyCode\uniPlatform\bin\run.bat
popd
pause
==================================================================================================
相同同目錄下的多個二進制執(zhí)行文件的批處理代碼(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
相關文章
使用C語言遞歸與非遞歸實現(xiàn)字符串反轉(zhuǎn)函數(shù)char *reverse(char *str)的方法
本篇文章是對使用C語言遞歸與非遞歸實現(xiàn)字符串反轉(zhuǎn)函數(shù)char *reverse(char *str)進行了詳細的分析介紹,需要的朋友參考下2013-05-05