Skip to content
Snippets Groups Projects
Unverified Commit 84481a1c authored by Jan's avatar Jan Committed by GitHub
Browse files

Trimmed a few imo unnecessary echo.s

parent 9cb575ad
No related branches found
No related tags found
No related merge requests found
...@@ -4,24 +4,19 @@ set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache* ...@@ -4,24 +4,19 @@ set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache*
echo. echo.
echo The explorer process must be temporarily killed before deleting the IconCache.db file. echo The explorer process must be temporarily killed before deleting the IconCache.db file.
echo.
echo Please SAVE ALL OPEN WORK before continuing. echo Please SAVE ALL OPEN WORK before continuing.
echo. echo.
pause pause
echo. echo.
If exist "%iconcache%" goto delete If exist "%iconcache%" goto delete
echo.
echo The %localappdata%\IconCache.db file has already been deleted. echo The %localappdata%\IconCache.db file has already been deleted.
echo. echo.
If exist "%iconcache_x%" goto delete If exist "%iconcache_x%" goto delete
echo.
echo The %localappdata%\Microsoft\Windows\Explorer\IconCache_*.db files have already been deleted. echo The %localappdata%\Microsoft\Windows\Explorer\IconCache_*.db files have already been deleted.
echo. echo.
exit /B exit /B
:delete :delete
echo.
echo Attempting to delete IconCache.db files... echo Attempting to delete IconCache.db files...
echo. echo.
ie4uinit.exe -show ie4uinit.exe -show
...@@ -29,16 +24,9 @@ taskkill /IM explorer.exe /F ...@@ -29,16 +24,9 @@ taskkill /IM explorer.exe /F
If exist del /A /F /Q "%iconcache%" If exist del /A /F /Q "%iconcache%"
If exist del /A /F /Q "%iconcache_x%" If exist del /A /F /Q "%iconcache_x%"
start explorer.exe start explorer.exe
echo.
echo IconCache database files have been successfully deleted. echo IconCache database files have been successfully deleted.
goto restart
:restart
echo.
echo. echo.
echo You will need to restart the PC to finish rebuilding your icon cache. echo You will need to restart the PC to finish rebuilding your icon cache.
echo.
CHOICE /C:YN /M "Do you want to restart the PC now?" CHOICE /C:YN /M "Do you want to restart the PC now?"
IF ERRORLEVEL 2 goto no IF ERRORLEVEL 2 goto no
IF ERRORLEVEL 1 goto yes IF ERRORLEVEL 1 goto yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment