-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef02ecc
commit b21ee12
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
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 | ||
———————————————— | ||
版权声明:本文为CSDN博主「Vvlowkey」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 | ||
原文链接:https://blog.csdn.net/vvlowkey/article/details/51133486 |