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.

19 lines
424 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. @echo off
  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. set zip=%~dp0\tool\7z.exe
  7. %zip% x asb.zip -y -aos -o"d:\"
  8. cd /d d:\
  9. call d:\asb\jdk.bat
  10. call d:\asb\mysql.bat
  11. call d:\asb\elasticsearch.bat
  12. call d:\asb\redis.bat
  13. @net stop redis
  14. @net start redis
  15. call d:\asb\jar_restart.bat
  16. call d:\asb\nginx.bat