zoukankan      html  css  js  c++  java
  • win7快捷方式图标修复

    test.bat

    /////////////////////////////////////////////////////////////////////////

    rem 关闭Windows外壳程序explorer
    taskkill /f /im explorer.exe
    rem 清理系统图标缓存数据库
    attrib -h -s -r "%userprofile%AppDataLocalIconCache.db"
    del /f "%userprofile%AppDataLocalIconCache.db"
    attrib /s /d -h -s -r "%userprofile%AppDataLocalMicrosoftWindowsExplorer*"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_32.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_96.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_102.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_256.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_1024.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_idx.db"
    del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_sr.db"
    rem 清理 系统托盘记忆的图标
    echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams
    echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream
    rem 重启Windows外壳程序explorer
    start explorer

  • 相关阅读:
    Codeforces 977F
    Codeforces 219C
    Codeforces 1132
    Codeforces 660C
    Codeforces 603A
    Codeforces 777C
    Codeforces 677
    JNUOJ 1032
    Codeforces 677D
    Codeforces 835C
  • 原文地址:https://www.cnblogs.com/shenwenkai/p/7201797.html
Copyright © 2011-2022 走看看