-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclear_icon_cache.bat
More file actions
35 lines (31 loc) · 830 Bytes
/
clear_icon_cache.bat
File metadata and controls
35 lines (31 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
echo ========================================
echo Clearing Windows Icon Cache
echo ========================================
echo.
echo This will refresh the taskbar icon display.
echo Close all running instances of the app first!
echo.
pause
echo.
echo Stopping Windows Explorer...
taskkill /f /im explorer.exe
echo.
echo Deleting icon cache files...
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
attrib -h IconCache.db
del IconCache.db
attrib -h iconcache_*.db
del iconcache_*.db
echo.
echo Restarting Windows Explorer...
start explorer.exe
echo.
echo ========================================
echo Icon cache cleared successfully!
echo ========================================
echo.
echo Now try running 7D2D-ServerConfigEditor.exe again.
echo The taskbar icon should display correctly.
echo.
pause