解决每打开一个文件夹,窗口都要刷新一次的办法

将下列代码复制粘贴到记事本里,保存为批处理文件(如”a.bat”),然后双击执行。(说明:下面给出WinXP和Win7两种系统的不同方法,根据自己电脑环境选择。)

——————Windows XP系统从下面这行起复制———————-

taskkill /f /im explorer.exe
attrib -h -i %userprofile%\Local Settings\Application Data\IconCache.db
del %userprofile%\Local Settings\Application Data\IconCache.db /a
start explorer

——————–Windows 7系统从下面这行起复制—————-

taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
start explorer

你可能感兴趣的:(Windows)