All Forums >> [Scripting] >> WSH & Client Side VBScript >> Refresh desktop or explorer shell Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I have created a script that will copy users My Documents to there Home drive on a server. The script then changes path in registry to change target path for My Documents.
Unfortunately, i need to stop or terminate the explorer process. Once the explorer is reloaded the registry changes can be viewed.
That used correctly only refreshes the desktop, and with desktop in this case that means same as pressing F5 in the desktopview ( without having any other apps running.)
If what you want to do is restart the explorer process, search the forums for "kill process" and you will get quite few hits on the subject. And the tip about searching the forums comes from the "Read me first"-post on top of this forum if ya missed that ;P
/CM
_____________________________
-There is only 10 sorts of people, those who understand binary and those who dont.