From eff992eb7e8655bdfb385e3b38bceaf565c927b6 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 12 Feb 2024 14:35:45 +0100 Subject: [PATCH] bugfix --- tools/killiconcache.cmd | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/killiconcache.cmd b/tools/killiconcache.cmd index 2efcbb3..2541854 100644 --- a/tools/killiconcache.cmd +++ b/tools/killiconcache.cmd @@ -1,6 +1,12 @@ @echo off -taskkill /f /IM explorer.exe +taskkill /FI "USERNAME eq %USERNAME%" /f /IM explorer.exe del /f /s /q %LocalappData%\Microsoft\Windows\Explorer\*.* del /f /s /q %LocalappData%\Iconcache.db -shutdown /r /t 0 /f +echo sleeping 3 seconds ... +ping 127.0.0.1 -n 3 > NUL 2>&1 +echo restarting Windows explorer ... +start explorer.exe + +echo Refreshing the desktop (W10 style) ... +ie4uinit.exe -show