《bat脚本》bat标题,bat变量设置

@echo off

SET port=18088
title='eureka:%port%'
echo 'eureka启动开始...'
java -jar eureka.jar   --spring.profiles.active=prod     --port=%port%    --server.context-path=/aaf
echo 'eureka启动结束...'
pause

猜你喜欢

转载自blog.csdn.net/kaige8312/article/details/87928717
bat