<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows 7 &#8211; WilliamKyle&#039;s Home</title>
	<atom:link href="https://www.williamkyle.com.cn/archives/tag/windows-7/feed" rel="self" type="application/rss+xml" />
	<link>https://www.williamkyle.com.cn</link>
	<description>不积跬步，无以至千里；不积小流，无以成江海。</description>
	<lastBuildDate>Fri, 08 Apr 2022 14:20:31 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.3</generator>
	<item>
		<title>Windows 7 环境下重置图标缓存</title>
		<link>https://www.williamkyle.com.cn/archives/57.html</link>
					<comments>https://www.williamkyle.com.cn/archives/57.html#comments</comments>
		
		<dc:creator><![CDATA[WilliamKyle]]></dc:creator>
		<pubDate>Thu, 02 Feb 2012 01:50:18 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[图标]]></category>
		<category><![CDATA[缓存]]></category>
		<category><![CDATA[脚本]]></category>
		<category><![CDATA[重置]]></category>
		<guid isPermaLink="false">http://www.williamkyle.com.cn/?p=57</guid>

					<description><![CDATA[图标缓存可以加速图标的显示，但是有时，如果图标发生了改变，但是并没有正常显示时，我们需要重建图标的缓存，把如下 &#8230; <a href="https://www.williamkyle.com.cn/archives/57.html" class="more-link">继续阅读<span class="screen-reader-text">Windows 7 环境下重置图标缓存</span></a>]]></description>
										<content:encoded><![CDATA[
<p>图标缓存可以加速图标的显示，但是有时，如果图标发生了改变，但是并没有正常显示时，我们需要重建图标的缓存，把如下代码保存为.cmd 文件运行即可。</p>



<pre class="wp-block-code has-dark-gray-color has-text-color"><code lang="bash" class="language-bash">rem 关闭 Windows 外壳程序 explorer
taskkill /f /im explorer.exe

rem 清理系统图标缓存数据库
attrib -h -s -r "%userprofile%\AppData\Local\IconCache.db"
del /f "%userprofile%\AppData\Local\IconCache.db"
attrib /s /d -h -s -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db"

rem 清理 系统托盘记忆的图标
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream

rem 重启 Windows 外壳程序 explorer
start explorer</code></pre>



<div class="wp-block-file"><a id="wp-block-file--media-d00b291b-bdf0-4d17-a854-2abd11610ef0" href="https://www.williamkyle.com.cn/wp-content/uploads/2012/02/Reset-Icon-Cache.zip" target="_blank" rel="noreferrer noopener">下载脚本</a></div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.williamkyle.com.cn/archives/57.html/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
