If I use LogEvent, I can't specify the event source. It's always WSH. Not helpful.
If I use EVENTCREATE, I can't use a multi-line message with carriage returns in it. (I've tried character 0182 and Ctrl-T which work in NET SEND but they just appear as characters in the event log.)
Any ideas on how to easily do both? I can write my own eventcreate program, but it won't be on every windows computer out of the box, like vbscript and EVENTCREATE, so I don't like that option at all.
[COLOR=black #d0d0d0]When I walk, I sometimes bump into things. I am closing my eyes so that the room will be empty.[/color]
If I use EVENTCREATE, I can't use a multi-line message with carriage returns in it. (I've tried character 0182 and Ctrl-T which work in NET SEND but they just appear as characters in the event log.)
Any ideas on how to easily do both? I can write my own eventcreate program, but it won't be on every windows computer out of the box, like vbscript and EVENTCREATE, so I don't like that option at all.
[COLOR=black #d0d0d0]When I walk, I sometimes bump into things. I am closing my eyes so that the room will be empty.[/color]