@echo off
:: 获取管理员权限
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit

@echo begin stop mysql server ...
net stop mysql

TIMEOUT /T 2
@echo begin start mysql server ...

net start mysql 

:: 暂停
:: @pause

:: 退出
exit 

  

相关文章:

  • 2022-12-23
  • 2021-05-30
  • 2021-08-07
  • 2021-12-19
  • 2021-09-18
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-12-18
  • 2021-07-16
  • 2022-01-18
相关资源
相似解决方案