Map a network printer using VBscript

Posted by dorklogic on August 27, 2010
HowTo

Simple, useful, set it up to run each time the computer boots. I haven’t had time to do any real updates lately, so here’s this.

Set objNetwork = CreateObject(“Wscript.Network”)

objNetwork.AddWindowsPrinterConnection

“\\servername\printername”

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site