SpringBoot项目jar包启动脚本-windows环境
startup.bat
@echo off set path=X:\xxxxxxx\Java\JDK\jre\bin START "项目名" "%path%\java" -jar 要启动的jar包路径
shutdown.bat 这是根据项目名停止项目运行
wmic process where (commandline LIKE "%%项目名%%" and caption="java.exe") call terminate