Zzyzxx,

cool! another Houston kix user [Big Grin]

what is the error? is the script stopping like a syntax error?

i am not seeing any check to make sure that $sysinfo is a valid COM object. Id $sysinfo was not a valid COM object and you tried making a call to a property, kix will error out.

i do not know if this is your problem or not, but i always do something like this.

code:
if vartype($sysinfo) <> 9 and @error <> 0 
? "error with $$sysinfo COM object @serror" exit(1)
endif

right after getobject() command, this will prevent the script from crashing on a invalid COM object request.

Bryce