@ECHO OFF&PUSHD %~DP0 &TITLE 绿化
Rd "%WinDir%\system32\test_permissions" >NUL 2>NUL
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行！&&Pause >nul&&Exit)
Rd "%WinDir%\System32\test_permissions" 2>NUL
SetLocal EnableDelayedExpansion
taskkill /f /im xigua* >NUL 2>NUL
taskkill /f /im xgtra* >NUL 2>NUL
taskkill /f /im xgeng* >NUL 2>NUL
regsvr32 /s xgax.dll npreg.dll
del "%AppData%\xigua\config.xml">NUL 2>NUL
del "%UserProFile%\AppData\LocalLow\config.xml">NUL 2>NUL
del "%AllUsersProfile%\Application Data\xigua\config.xml">NUL 2>NUL
ECHO.&ECHO.完成! 是否创建桌面快捷方式？
ECHO.&ECHO.是请按任意键，否直接关闭吧！&&PAUSE >NUL
mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\西瓜影音.lnk""):b.TargetPath=""%~dp0xigua.exe"":b.WorkingDirectory=""%~dp0"":b.Save:close")
CLS && ECHO.&ECHO 创建完成，任意键返回！ &&PAUSE >NUL