Loads the script from a file. | |
Syntax: | object.LoadFromFile fileName |
Parameters: |
fileName As
String -
|
Description: | CimClassScript.LoadFromFile is a method
that will load the contents of a file into the CimClassScript.Text property. Examples Dim class As CimClassInstance Dim scriptList as CimClassScriptList Dim script as CimClassScript [...] Set scriptList = class.Scripts Set script = scriptList.Item("EXISTING_SCRIPT") script.LoadFromFile "c:\test.bcl" |