Ed, have you ever been able to get anything in the description box (cLogMesage in you code below) to format nicely? I haven't been able to make it do what I want in either Perl or VFP(thru your WSH code).
?
>oShell = CREATEOBJ('Wscript.Shell')
>oShell.LogEvent(nIntType,cLogMessage,cTargetMachine)
>
>nIntType may be one of:
>
>
Number Event Type
> 0 Success
> 1 Error
> 2 Warning
> 4 Information
> 8 Audit_Success
> 16 Audit_Failure