Home XP Commands
XP Syntax

LOGEVENT (Resource kit)

Write text to the event log (event viewer)

Syntax
      logevent [-m \\MachineName] [options] "Event Text"
Options
  -s Severity   one of 
               (S)uccess 
               (I)nformation 
               (W)arning 
               (E)rror
               (F)ailure

  -c Category   A Number between 0 and 65536
                This can be used to Filter the event log view
                (default = "none")

When a fellow says, "It ain't the money but the principle of the thing," it's the money. - Kim Hubbard

Related

EVENTCREATE - Create a custom event log message (Windows XP)
EVENTQUERY - Read an event log message (Windows XP)
EVENTTRIGGERS - display and configure Event Triggers (Windows XP)
NET SEND - Manage network resources (Popup message)
WshShell.LogEvent - Log an item in the Event log
WMIC NTEVENTLOG - WMI access to the event log
Q131008 - Use eventlog from a batch file



Back to the Top

Simon Sheppard
SS64.com