JSI Tip 8542. How can a batch script refresh the desktop or environment?

Download and unzip Refresh.zip.

If your script copies a shortcut to a user's desktop, or makes any environmental change, Refresh.exe can refresh the desktop, or notify applications to refresh their environment.

When you type refresh /?, you receive:


Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.