hello again, my scripts don't want to run anymore...it install the printer as well but don't wanna put this damn one as default....

Heres the code:


if substr(@wksta,1,7) = "PTE0605"
AddPrinterConnection("\\PTP7002A11\PRL7002A11")
@error ?
SetDefaultPrinter("\\PTP7002A11\PRL7002A11")
@error ?
AddPrinterConnection("\\PTE0605A01\HP605")
@error ?
endif

Any ideas ?

BAL.