EventLogError

Function:

Writes an error entry in the NT event log.

Syntax:

EventLogError "<id>" "<text>"

Example:

EventLogError "5000" "The backup file could not be found."

Notes:

"id" is a identification number that you choose. "text" is the text you wish to place in the event log.