PDA

View Full Version : Share Printer Batch File


John
January 23rd 04, 03:26 PM
Does anyone know how to create a batch file that allows
for a laptop to connect to a share printer on logon?

I am on a peer to peer network and constantly have to
connect to the share printer when I get back on the
network each day.

Alan Morris\(MSFT\)
January 27th 04, 08:24 PM
If you have PRO

cscript c:\windows\system32\prnmngr.vbs -ac -p \\server\"Printer name"

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"John" > wrote in message
...
> Does anyone know how to create a batch file that allows
> for a laptop to connect to a share printer on logon?
>
> I am on a peer to peer network and constantly have to
> connect to the share printer when I get back on the
> network each day.

Google