The script Kent pointed to you to works on Win98. If you take a colser look at the code, you will see that there is an ELSE between the AddPrinterConnection() and @InWin.

I hate Wintendos and refuse to support them but the script is written for them.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.