Digging a bit deeper in your sample (ok, I confess simply reading your code) I found the mistake you made :

you do the winset within the 3rd CASE evaluation (Thus the Winset only is executed if 3rd case is true and none of the before)

your code should If I got that right look something like this :



Select
    Case InGroup("POLLER_01")
        $dospath="$1"
    Case InGroup("POLLER_01")
        $dospath="$2"
    Case InGroup("POLLER_03")
        $dospath="$3"
EndSelect

Shell 'winset.exe PRCPATH='+$dospath



J.

{edit}
Oh yeah, you might want to display the time after you synchronized it with your Server [Wink]
{/edit}

[ 19. February 2003, 16:21: Message edited by: jpols ]
_________________________