@echo off
title Windows Mode
:begin
if "%1"=="" goto menu
if "%1"=="default" goto default
if "%1"=="dark" goto dark
if "%1"=="light" goto light
:menu
cls
echo.
echo     1).default Mode
echo     2).dark Mode
echo     3).light Mode
echo.
choice /c 123 /m "choice:"
if %ERRORLEVEL%==3 goto light
if %ERRORLEVEL%==2 goto dark
if %ERRORLEVEL%==1 goto default
:default
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
goto end
:dark
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
goto end
:light
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
goto end
:end
exit
 

相关文章:

  • 2022-01-02
  • 2021-12-06
  • 2022-12-23
  • 2021-11-11
  • 2022-01-20
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-05-01
  • 2022-12-23
  • 2021-07-31
  • 2022-01-01
相关资源
相似解决方案