Someone correct me if I am wrong, but I think this can be neatly cleaned up into one line

 Code:
$RC=DelPrinterConnection("")

Now tell me Kixtart is not friendlier than VBScript. ;\)
_________________________
(... better days ahead)