@echo off cd /d %~dp0 echo ----1.[Mysql] start uninstalling Mysql ---->>../log.txt sc stop ctV2 sc delete ctV2 echo ----2. [Mysql] uninstall finished---- >>../log.txt exit