🖥️ Batch (CMD)
Check "Enable Dark Mode" Status (Batch)
Uses reg query to check the current value behind the "Enable Dark Mode" tweak.
CheckDarkModeStatus.bat
@echo off
:: ============================================================
:: CheckDarkModeStatus.bat
::
:: Checks whether "Enable Dark Mode" is currently applied.
:: ============================================================
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" 2>nul
if %ERRORLEVEL% NEQ 0 (
echo.
echo 'AppsUseLightTheme' is not set (using the Windows default^).
)
pause