have a problem with a logon script that hopefully someone can assist with :

i'm running the following to seperate a remote location from main building:

IF Left(@WKSTA, 5) = "55PUL"
GOTO Pulaski
Else
GOTO Mercy
ENDIF

we are running pc's and thin clients.
The script works fine for the PC's, but stalls on the thin clients.

I suspect the @WKSTA command is the culprit.

Is there another command that can perform the same functionality