1.

Solve : Batch command to refresh desktop?

Answer»

I have created a batch command that RUNS everytime a user signs up in a terminal server, it maps DRIVES and calls an HTML file. The problem I am having is that once the batch file ends, the icons on the desktop are not being refreshed, the user has to manually press F5. Is there a way to refresh the desktop with a command rather than having the user press F5?

Thanks,

JackieFirst, I would SUGGEST that you use scripts instead of batch files for this. Scripts are significantly more powerful than batch files, especially inside the Windows environment. In a SCRIPT you could send the F5 keystroke or actually call the refresh method.



Discussion

No Comment Found