bat批处理运行多个jar/war包
{echo off 表示不回显 @表示当前行不回显}
@echo off
start javaw -javaagent:D:\webroot\pinpoint-agent-2.0.3\pinpoint-bootstrap-2.0.3.jar -Dpinpoint.agentId=10.4.18.119news -Dpinpoint.applicationName=centanet-news -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.api.java\news-0.0.1-SNAPSHOT.jar --server.port=8044 --spring.profiles.active=prod &
start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.website.m\m-1.0.0.war --server.port=8045 --spring.profiles.active=prod &
start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.website.pc\news.pc-1.0.0.war --server.port=8046 --spring.profiles.active=prod &
start javaw -javaagent:D:\Webroot\pinpoint-agent-2.0.3-points\pinpoint-bootstrap-2.0.3.jar -Dpinpoint.agentId=10.4.18.112points -Dpinpoint.applicationName=centanet-points -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.api\api-1.0.0.jar --server.port=8244 --spring.profiles.active=prd &
start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.m\m-1.0.0.war --server.port=8245 --spring.profiles.active=prod &
start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.pc\points.pc-1.0.0.war --spring.profiles.active=prd &
exit