File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ @echo off
2+ chcp 65001 > nul
3+
4+ if exist "%userprofile%"\TSS\classic\classicthemetray.exe (ren "%userprofile%\TSS\classic\classicthemetray.exe" classicthemetray_old.exe
5+ echo The classic theme has been disabled) else (echo The classic theme is already disabled)
6+
7+ start "" /D "%USERPROFILE%\TSS\classic" classicthemetray_old.exe /disable
8+
9+ Set BT5=uxsms.exe
10+ tasklist | find /i "%BT5%">nul && (TASKKILL /f /im uxsms.exe) || goto :1
11+ :1
12+ if exist "%userprofile%"\tss\basic\uxsms.exe (ren "%userprofile%\tss\basic\uxsms.exe" uxsms_old.exe
13+ echo The basic theme has been disabled) else (echo The basic theme is already disabled)
14+
15+ REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /f
16+ REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /t REG_DWORD /d 1
17+
18+ set /P c=Do you want to restart explorer ?[Y\N]?
19+ if /I "%c%" EQU "Y" (TASKKILL /f /im explorer.exe
20+ goto :EX1)
21+ if /I "%c%" EQU "N" (goto :MSG)
22+
23+ :EX1
24+ Set 7+=7+ Taskbar Tweaker.exe
25+ tasklist | find /i "%7+%">nul && (TASKKILL /f /im "7+ Taskbar Tweaker.exe"
26+ goto :2) || goto :EX2
27+
28+ :EX2
29+ start explorer.exe
30+ timeout /t 5
31+ if exist "%userprofile%\AppData\Local\Programs\7+ Taskbar Tweaker\7+ Taskbar Tweaker.exe" (start "" /D "%userprofile%\AppData\Local\Programs\7+ Taskbar Tweaker" "7+ Taskbar Tweaker.exe")
32+ goto :MSG
33+
34+ :MSG
35+ echo Task completed
You can’t perform that action at this time.
0 commit comments