Hi--
I am attempting to write a login script that will check if a [network]
printer exists on local computer. if it does exist, proceed to remove
[the old path] and reinstall from a new print server. I'm no expert at
this and any help would be very much appreciated.
Kinda like this:
on error resume next
Set WshNetwork = CreateObject("WScript.Network")
>>>>>>> If "\\oldserver\oldprintername" exists then <<<<<<having
trouble with this part.
WshNetWork.RemovePrinterConnection "\\oldserver\oldprintername"
WshNetwork.AddWindowsPrinterConnection "\\newserver\nerprintername"
thanks
------
You are subscribed as [EMAIL PROTECTED]
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=nt2000&text_mode=&lang=english
To unsubscribe send a blank email to [EMAIL PROTECTED]