Option Explicit
Dim DelPrint, UNCpath
UNCpath = "\\Server1\Printer"
Set DelPrint = WScript.CreateObject("WScr
DelPrint.RemovePrinterConn
Wscript.Echo "This printer was removed : " & UNCpath
WScript.Quit
' End of Example Script to remove printer
#######################
沒有留言:
張貼留言