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" 

windows批量启动服务

上一篇:Python表白代码:“山河远阔 人间烟火无一是你 无一不是你”(附源码)


下一篇:windows server服务器远程桌面不能复制粘贴的解决方法