I suck at programing. I borrowed this script from a news group and modified it. I am trying to assign default printers based on Clientname. I am using Kixtart wkix32.exe. The full client name is "buh-ctx2". Does the "-" screw this up? It fails saying I am missing a comma! in the line that starts CASE RIGHT. Can any one help?

----------Script--------------------
USE lpt3 /DELETE

$ClientName = %CLIENTNAME%


SELECT

CASE RIGHT(@$ClientName, 4) = "CTX2"
AddPrinterConnection ("\\buh-ctx1\h-csm-1855")
SetDefaultPrinter ("\\buh-ctx1\h-csm-1855")

ENDSELECT
-------End----------------------