Does this script only assign printers?

Microsoft Windows server 2008 r2 standar...
March 10, 2010 at 16:54:37
Specs: Windows 2008 R2, 4ghz/3gb
Option Explicit
Dim objNetwork, strLocal, strUNCPrinter4,
strUNCPrinter5, strUNCPrinter6,
strUNCPrinter7
strUNCPrinter4 = "\\fileserver1\atl_Trdr2"
strUNCPrinter5 = "\\fileserver1\atl_Trdr3"
strUNCPrinter6 = "\\fileserver1\atl_Trdr4"
strUNCPrinter7 = "\\fileserver1\atl_TrdrCL"
Set objNetwork =
CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection
strUNCPrinter4
objNetwork.AddWindowsPrinterConnection
strUNCPrinter5
objNetwork.AddWindowsPrinterConnection
strUNCPrinter6
objNetwork.AddWindowsPrinterConnection
strUNCPrinter7
WScript.Quit

Thank you,

Leto the just


See More: Does this script only assign printers?

Report •

#1
March 10, 2010 at 17:03:14
yes

Report •

#2
March 11, 2010 at 07:33:42
Thank you, I want to switch it out with a printuientry batch file
because I am having issues with the last printer in the script.

Thank you,

Leto the just


Report •
Related Solutions


Ask Question