NOTE
The event log accepts several additional pieces of information that you can??™t add using the
EventCreate utility. The event category requires that you register a specialized DLL to handle
the category information. Given that you probably won??™t add the required DLL for a batch file
application, Microsoft left this particular entry out. An event can also register data that amplifies
the event description. The lack of support for this feature is regrettable because you could use
it to create better event log entries. However, you can overcome this problem by providing
a detailed description and possibly including the data as part of the description, rather than as a
separate entry.
Triggering System Events with the EventTriggers Utility
One of the problems with the event log is that it can quickly become clogged with information??”
more information than many network administrators want to wade through to locate a particular
event of importance. Starting with Windows XP, you can set an event trigger on the event log. When
an event log entry matching the criteria you specify appears, you can tell the EventTriggers utility
to perform any number of tasks??”anything from sending an email message to running a particular
application (batch files included).
Pages:
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060