@ECHO OFF&PUSHD %~DP0 &TITLE 卸载
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo.&Echo 请使用右键"以管理员身份运行"!&&Pause >NUL&&Exit)
Rd "%WinDir%\System32\test_permissions" 2>NUL
SetLocal EnableDelayedExpansion
BaiduMusic.exe /upgradeuninstall
rd/s/q "%AppData%\baidu\BaiduMusic"2>NUL
reg delete HKCU\Software\Baidu\BaiduMusic /f>NUL 2>NUL
rd/s/q "%UserProfile%\AppData\Local\BaiduMusic"2>NUL
ECHO.&ECHO 卸载完成！按任意键退出！&PAUSE >NUL 2>NUL & CLS