Skip to content

Instantly share code, notes, and snippets.

@Ancientwood
Created May 12, 2021 07:27
Show Gist options
  • Save Ancientwood/42bd1a3125577241b395bf49ea99a647 to your computer and use it in GitHub Desktop.
Save Ancientwood/42bd1a3125577241b395bf49ea99a647 to your computer and use it in GitHub Desktop.
@echo off
powershell.exe -ExecutionPolicy Bypass -File "C:\Users\anc\Desktop\soft\script\dark.ps1"
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force
@echo off
powershell.exe -ExecutionPolicy Bypass -File "C:\Users\anc\Desktop\soft\script\light.ps1"
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 1 -Type Dword -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment