Well... sad to say, I had the gold in my hand, and didn't know it... 
and aside from capitalization looks exactly the same with kix or using the GUI for me
Les, I think what he has works because Kix is so forgiving, but you are right, that does need to be in an if or at the very least done like this: $RC=addprinterconnection("\\Server\Share")