This should work: Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\YourPrintServer\PrinterName" WshNetwork.SetDefaultPrinter "\\YourPrintServer\PrinterName" Set WshNetwork = Nothing If you put that in a login script. Sincerely,
Dèjì Akómöláfé, MCSE MCSA MCP+I www.akomolafe.com www.iyaburo.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: [EMAIL PROTECTED] on behalf of Richard Sumilang Sent: Mon 7/14/2003 3:42 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] Printer Script Has anyone wrote a script to connect a user to a shared printer on the network when the log in? Is this possible? List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
<<winmail.dat>>