c***@gmail.com
2014-03-29 00:24:44 UTC
Hello, I'm new to vb script and hoping someone can point me in a direction...
See the following parts from 2 scripts:
Set Our_Printers = CreateObject("WScript.Network")
Our_Printers.AddWindowsPrinterConnection Printer_1
set fso = CreateObject("Scripting.FileSystemObject")
if fso.FolderExists("c:\windows") then
WScript.echo "There is a folder named \Windows"
My first question is, is there a list of available objects that can be used after CreateObject? Additionally, is there a list of properties (i believe that's what they are called), that can be used? For example, what else can I use along with AddWindowsPrinterConnection?
Thank you.
See the following parts from 2 scripts:
Set Our_Printers = CreateObject("WScript.Network")
Our_Printers.AddWindowsPrinterConnection Printer_1
set fso = CreateObject("Scripting.FileSystemObject")
if fso.FolderExists("c:\windows") then
WScript.echo "There is a folder named \Windows"
My first question is, is there a list of available objects that can be used after CreateObject? Additionally, is there a list of properties (i believe that's what they are called), that can be used? For example, what else can I use along with AddWindowsPrinterConnection?
Thank you.