windwos 开启关闭绿色护眼bat脚本

写一个小脚本,可以手动开启或者关闭绿色护眼背景

复制右键保存.bat文件即可,如:

绿色护眼开启关闭脚本

@echo off
echo.
echo --------------------------------------------------
echo     "1"    Start Green Background
echo     "0 "     Turn off Green background
echo --------------------------------------------------
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 
    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
    echo Turn off Green background Successfully.
     pause
    )
    )  

 

windwos 开启关闭绿色护眼bat脚本

上一篇:WIN10下添加NeoGrub引导Deepin系统


下一篇:(Nginx+Apache)实现反向代理与负载均衡