I fiddled around with the waitfor a little bit. The only problem with waitfor is you have to have a "handshake".

For example, suppose 5 PCs PC1 - PC5 send a:

waitfor -s script1

at the same time. The server-side script can only handle one of these, and the first one that responds will be the one handled. So, how do you know how long to wait for a server response?

Would it be something on the client side like:

code:
:installprog1
shell "waitfor -s prog1"
shell "waitfor -t 3 @WKSTA"
If @error <> "" goto installprog1
Else
? "Installing program 1. Please wait..."
Shell "Waitfor @WKSTA"
Endif

How do you know how long to make the timeout?

Brian