In-depth analysis of the batch code in C + + to execute multiple EXE-file methods Introduction _c language

Source: Internet
Author: User

Batch code for multiple binary execution files in different directories

@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
==================================================================================================
Batch code for multiple binary execution files in the same directory (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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.