I need to refresh the desktop and taskbar icons programmatically using a batch file or VBScript.
I found this vbs that hits the usual refresh key, F5:
Set WSHShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{F5}"
but that obviously doens't refresh the icons I mentioned.