Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript LogEvent versus command EVENTCREATE

Status
Not open for further replies.

ESquared

Programmer
Dec 23, 2003
6,129
US
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]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top