自动获取管理员权限并杀死mysql和httpd进程
@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
taskkill /F /im mysqld.exe
taskkill /F /im httpd.exe
自动获取管理员权限并杀死mysql和httpd进程
@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
taskkill /F /im mysqld.exe
taskkill /F /im httpd.exe
评论 (0)