当前位置:   article > 正文

Windows环境下 一键批量启动多服务脚本(亲测)_window本地启动多个服务工具

window本地启动多个服务工具

@echo off
::=========================Nacos=========================
echo now run the start-nacos.bat ...
rem start "Nacos"
f:
cd   F:\aps_environment\nacos-1.4.1
start  "Nacos"  cmd /k  call  start-nacos.bat
::等待5秒
start /min /w mshta vbscript:setTimeout("window.close()",5000)


::=========================Redis=========================
echo now run the redis.bat ...
f:
cd   F:\aps_environment\redis
start  "Redis"  cmd /k  call start.bat
::等待5秒
start /min /w mshta vbscript:setTimeout("window.close()",5000)


::=========================Nginx=========================
echo now run the nginx.bat ...
f:
cd   F:\aps_environment\nginx-1.24.0
start  "Nginx"  cmd /k  nginx.bat
::等待5秒
start /min /w mshta vbscript:setTimeout("window.close()",5000)


::=========================UIMS=========================
echo now run the uims.bat ...
f:
cd   F:\aps_environment\2_UIMS_2.8.0-20230329-01-SNAPSHOT
start  "UIMS"  cmd /k  start-sso.bat
::等待5秒
start /min /w mshta vbscript:setTimeout("window.close()",50000)

::=========================EMS=========================
echo now run the EMS.bat ...
f:
cd   F:\aps_environment\3_EMS_2.8.0\2.8.0-20230328-01-SNAPSHOT
start  "EMS"  cmd /k  start-ems.bat
::等待5秒
start /min /w mshta vbscript:setTimeout("window.close()",50000)


 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/76201
推荐阅读
相关标签
  

闽ICP备14008679号