Try doubling up the "$"...

Code:

if (@WKSTA <> "TSERVER")
shell "\\eclipsefs\netlogon$$\epo.bat"
endif