Command COG
Function:
Get a COM object property value and store the value in an environment variable.
Syntax:
COG var=obj.property
var Environment variable to store the retrieved COM object property value. obj Environment variable that contains a valid handle to a COM object. property Specifies the name of the COM object property to get.
Note:
The environment variable obj must be a valid handle created using the CreateObject() syntax of command COM.
Also see command COP, COM and Automation.
