LOGNTEVENT Write a message to the NT application event log |
Top Previous Next |
This script command writes a message to the NT application event log.
The /type option allows the event type to be specified. The permitted event types are listed below.
1 - Error event 2 - Warning event 3 - Information event 4 - Success Audit event 5 - Failure Audit event
Consider the following example.
LOGNTEVENT "This goes to the event log" /type=3
IMPORTANT This command is not functional in scripts run in the security context of an account with insufficient privileges.
Related Command(s): LOGMSG, CONSOLEMSG, DASHBOARDMSG, MESSAGEBOX, PRINT, WRITEFILE
|