Often after Mac OS X updates my items on the desktop and within folders are… Lacking something.

Where's my icon?!

After some searching I discovered how to restore life to these bland, lifeless items.

/System/Library/Frameworks/CoreServices.framework/Versions/A\
/Frameworks/LaunchServices.framework/Versions/A/Support/\
lsregister -kill -r -domain local -domain user;killall Finder;echo \
“Open With has been rebuilt, Finder will relaunch”