jw项目windows环境软件安装
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
467 B

1 year ago
  1. chcp 65001
  2. %1 %2
  3. ver|find "5.">nul&&goto :Admin
  4. mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :Admin","","runas",1)(window.close)&goto :eof
  5. :Admin
  6. echo 项目初始化....
  7. cd /d Z:\
  8. call Z:\jdk.bat
  9. call Z:\mysql.bat
  10. call Z:\elasticsearch.bat
  11. call Z:\redis.bat
  12. ping 127.0.0.1 -n 11 > null
  13. echo 启动服务
  14. @net stop redis
  15. @net start redis
  16. call Z:\jar_restart.bat
  17. ping 127.0.0.1 -n 11 > null
  18. call Z:\nginx.bat
  19. echo 项目初始化成功