windows批量启动服务

@echo off
start cmd /c "title api service && echo api service is ready start!!! && cd c:\api && java -jar api.jar" 
start cmd /c "title dev service && echo dev service is ready start!!! && cd c:\dev && java -jar dev.jar" 
start cmd /c "title jeecg service && echo jeecg service is ready start!!!  && cd c:\quant && java -jar jeecg-boot-module-system-2.1.0.jar" 
start cmd /c "title nginx service && echo nginx service is ready start!!!  && cd C:\nginx-1.17.3 && nginx -c conf/nginx_custom.conf" 
start cmd /c "title redis service && echo redis service is ready start!!!  && cd C:\Redis-x64-3.2.100 && redis-server.exe redis.windows.conf"
start cmd /c "title tomncat service && echo tomcat service is ready start!!! && cd C:\apache-tomcat-8.5.40-windows-x64\apache-tomcat-8.5.40\bin && startup.bat" 
posted @ 2020-02-06 19:05  未月廿三  阅读(860)  评论(0编辑  收藏  举报