- 在Clover.exe所在文件夹中新建文件绿化.bat
- 双击运行。
绿化.bat
@ECHO OFF&PUSHD %~DP0 &TITLE 绿化
mode con cols=36 lines=20
>NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (
ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"
ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"
"%TEMP%\Getadmin.vbs"
DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL
Exit /b
)
:Menu
Cls
@ echo.
@ echo. 菜 单 选 项
@ echo.
@ echo. ┌───────────────┐
@ echo. │ * 绿化 请输 → 1 │
@ echo. └───────────────┘
@ echo.
set /p zero=请输入数字按回车:
if /i "%zero%"=="1" Goto Install
echo.
echo 选择无效,请重新输入!!!
ping -n 2 127.1>nul
goto menu
:Install
regsvr32 /s TabHelper32.dll
If "%PROCESSOR_ARCHITECTURE%"=="AMD64" regsvr32 /s TabHelper64.dll
echo.
echo 绿化完成,按任意键退出。 &pause>nul &exit