Batch

Windows Thumbnail Cache neu erstellen


Warning: file(http://svn.wp-plugins.org/devformatter/branches/langs/batch.php) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Warning: implode() [function.implode]: Invalid arguments passed in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Warning: file(http://svn.wp-plugins.org/devformatter/branches/langs/batch.php) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Warning: implode() [function.implode]: Invalid arguments passed in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Warning: file(http://svn.wp-plugins.org/devformatter/branches/langs/batch.php) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Warning: implode() [function.implode]: Invalid arguments passed in /is/htdocs/wp1116843_DYGV2X85HR/www/wirehack7/wordpress/wp-content/plugins/devformatter/devgeshi.php on line 100

Da ich heute selber mit dem Problem kämpfen musste (das Foobar Icon wurde nicht mehr angezeigt) habe ich folgendes Batch File erstellt:

 batch |  copy code |? 
01
@echo off
02
title Deleting Icon Cache
03
cls
04
echo The Explorer process must be killed to delete the Icon DB.
05
echo Please SAVE ALL OPEN WORK before continuing
06
pause
07
taskkill /IM explorer.exe /F
08
echo Attempting to delete Icon DB...
09
If exist %userprofile%\AppData\Local\IconCache.db goto delID
10
echo Previous Icon DB not found...trying to build a new one
11
goto :main
12
13
:delID
14
cd /d %userprofile%\AppData\Local
15
del IconCache.db /a
16
pause
17
echo Icon DB has been successfully deleted
18
goto main
19
20
:main
21
echo Windows 7 must be restarted to rebuild the Icon DB.
22
echo Restart now? (Y/N):
23
set /p choice=
24
If %choice% == y goto end
25
echo Restart aborted...please close this window
26
explorer.exe
27
28
:end
29
shutdown /r /t 0
30
exit

Die .bat-Datei muss dabei als Administrator ausgeführt werden.

 Scroll to top