must kill chrome before deleting history etc.pp.

This commit is contained in:
Michael H.G. Schmidt 2023-03-10 09:00:40 +01:00
parent cf1c00a44e
commit b696c89ae2

View File

@ -456,6 +456,7 @@ del /F /Q "%STARTMENU_PUBLIC%\IrfanView\About IrfanView.lnk" 2>nul
echo.
echo Deleting chrome cache and history ...
taskkill /f /im chrome.exe /FI "USERNAME eq %USERNAME%" 2>nul
rd /S /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\Cache" 2>nul
del /F /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\History*" 2>nul