jamiers Posted September 7, 2006 Posted September 7, 2006 Does anyone know of something that I can put into a Windows Server Login batch script that would allow me to map printers for my students? I would like to do something like the netuse command I use to map drives. I can't seem to find the printer command for that? Quote
barrytone Posted September 7, 2006 Posted September 7, 2006 I guess you could use something like this: net use lpt1 serverprinter /persistent:yes Personally, I'd use vbscript instead :) Option Explicit Dim netPrinter, UNCpath UNCpath = "YourServerPrinterName" Set netPrinter = CreateObject("WScript.Network") netPrinter.AddWindowsPrinterConnection UNCpath I lifted that from some website. Couldn't be bothered typing it out. You get the idea, I hope :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.