I found this script and it seems to work fine on NT but I haven't tested it on any other systems. The problem I am having is I need some way of creating a list of printers that are installed on the clients machine upon logon, Once the printers are discovered, create a file installed.dat and then I need it to fine the new printer in the print.dat file that I created that is the match to the old one then delete the old printer and create the new. The problem with this script is that it locates by group
and that doesn't work in my case.

I was thinking of the print.dat file to be like this, that way when the old one was detected the new printer would be associated with it on the same readline command.
But how would I be able to locate the old printer the the dat file and then read that line so I can set my varibles.

\\server\printer,\\server\newprinter


? @USERID + ": Please wait while your printers are being added...."
sleep 5
cls
If ADDPRINTERCONNECTION ("$printeradd") = 0
? @USERID + " Your New Printers Were Added...."
SETDEFAULTPRINTER ("$printerdef")
delprinterconnection ("$printerdel")
ELSE
? @USERID + ": There was an error adding your Printers. Contact Help Desk x1111!"
?
?
?
Endif