windwos 开启关闭绿色护眼bat一键脚本
写一个小脚本,可以手动开启或者关闭绿色护眼背景
复制右键保存.bat文件即可,如:
绿色护眼开启关闭脚本,右键管理员权限运行即可
@echo off echo. echo -------------------------------------------------- echo "1" Start Green Background echo "0 " Turn off Green background echo -------------------------------------------------- echo decimal:13167565=hexadecimal:c8ebcd, ffffff=16777215 (default) echo. set /p a= Please input your Choice (1 or 0): if "%a%"=="1" ( reg add "HKCU\Control Panel\Colors" /v Window /t REG_SZ /d "202 234 206" /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DefaultColors\Standard" /v Window /t REG_DWORD /d 13167565 /f echo Start Green Background Successfully. pause )else ( if "%a%"=="2" ( reg add "HKCU\Control Panel\Colors" /v Window /t REG_SZ /d "255 255 255" /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DefaultColors\Standard" /v Window /t REG_DWORD /d 16777215 /f echo Turn off Green background Successfully. pause ) )