Refresh Windows Icon Cache

From Birnam Designs Wiki

Jump to: navigation, search

Manually

You can refresh Windows' icon cache (e.g. desktop link icons) by deleting IconCache.db from your profile directory. (e.g. C:\Documents and Settings\Username\Local Settings\Application Data)

The cache file will be automatically recreated.


Programmatically

You can refresh the icons programmatically by passing the message SPI_SETICONS. Set uiParam to zero, and pvParam to NULL.

Share This!
This page was last modified on 19 January 2009, at 19:41. This page has been accessed 461 times.