A small modification because GOTO's are bad, they are really evil and should be avoided like a 250 kilo person at a pie eating contest, you have some macro’s in strings and a $ that could be mistaken by kix for a variable.

 Code:
Break on

$rc = SetOption("NoVarsInStrings", "On")

If InGroup("PST_SEARCH")
	If Not Exist("\\cgi-ahwd1\logs$\pst_by_username\" + @USERID + "---" + @WKSTA + ".txt")
		;do your magic here
	EndIf
EndIf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.