Hi Mike

Err, is that success?

I reckon your script should look like:

;************
$SysNo = substr(@wksta,LEN(@WKSTA)-2,2)

IF $SysNo < "30"
AT (4,4) "This is connecting to U18"
addprinterconnection(\\upperserver\EpsonU18)
addprinterconnection(\\upperserver\KyoU18)
else
At (4,4) "This is connecting to U26"
addprinterconnection(\\upperserver\KyoU26)
addprinterconnection(\\upperserver\EpsonU26)
endif
;******************

I am assuming U18 is Room1 and U26 is Room2? If I am wrong please change the < to a > .

Your close

Many Kixers out there will be giggling at this thread.

Rgds
Don