Safe For Scripting
I have this VBscript which allows you to add a network printer. However because it calls an activeX object it errors out. Can I mark it Safe For Scripting? Here is the script:
<job id = "jobvbs">
<script language ="VBScript">
Set WshNetwork = CreateObject("WScript.Network")
PrinterPath = "\\TSCL02919\CL-Customer Services"
MsgBox("Customer Services Printer Added!")
The name specified is not recognized as an internal or external command, operable program or batch file.