Windows desktop/shell refresh/reload

  • Thread starter Thread starter Guest
  • Start date Start date
This-line-intentionally-left-blank said:
Is there a script based solution for F5 in XP/2000?

Try:

rundll32 user32.dll,UpdatePerUserSystemParameters

(Works in XP; don't know about Win2K)
 
Set objShell = CreateObject("Shell.Application")
Set AllWindows=objShell.Windows

For Each window in AllWindows
If window.locationname="My Computer" then
window.refresh
End If
Next

But not for the desktop.
 
Back
Top