w10install/scripts/modify-desktoptheme.cmd

23 lines
432 B
Batchfile
Raw Normal View History

@echo off
2023-01-17 07:11:47 +01:00
set TOOLS=c:\tools
set CONFIG=%TOOLS%\scripts\config
set THEMES=C:\Windows\Resources\Themes
echo ####### %0 #######
2023-01-12 20:10:11 +01:00
copy /Y %CONFIG%\aerolite.theme %THEMES%
echo activating AEROLITE theme ...
@echo on
powershell -command "Start-Process %THEMES%\aerolite.theme"
@echo off
echo sleep 5 seconds ...
ping 127.0.0.1 -n 5 > NUL 2>&1
taskkill /F /IM SystemSettings.exe 2>nul
echo ####### %0 #######
2023-01-17 07:11:47 +01:00