8 Des 2010

Write Windows Event Log using Command Line

Last week I’ve created this small application using VS 2010, targeted to Microsoft.NET Framework 3.5. It’s a small application with simple code, but it’s very useful to Log your message to Windows Event Log in a DOS Batch file environment.

Click to download EventLogger.exe

It’s very simple to use. See the example below.

image 
To create an event log entry with “Error” flag.

image
To create an event log entry with “Warning” flag.

image 
To create an event log entry with “Information” flag.

2 komentar:

[give me your ideas, hopes, comments and compliments below...]
[aaand...... +1 if you need to....]