@echo off
whoami /groups | find "S-1-16-12288" >nul
if ERRORLEVEL 1 (echo [ERROR] 请用管理员权限运行!!!) else goto uninstall
pause
exit

:uninstall
cd /d %~dp0
net stop MySQL-Simple
%cd%/bin/mysqld remove  MySQL-Simple