Home / Software / Computer programming / Batch command to refresh desktop
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Batch command to refresh desktop  (Read 1584 times)
Jackie Wade
Guest
« on: April 14, 2005, 08:49:52 AM »

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,

Jackie
IP logged
gussery
Guest
« Reply #1 on: April 14, 2005, 09:20:45 AM »

First, 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.
IP logged
Pages: [1] - (Top) Print 
Home / Software / Computer programming / Batch command to refresh desktop « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.145 seconds with 18 queries.