Write to Windows event log: Difference between revisions

Content added Content deleted
m (Lingo added)
Line 350: Line 350:
Runtime.getRuntime().exec(command)
Runtime.getRuntime().exec(command)
}</lang>
}</lang>

=={{header|Lingo}}==
{{libheader|Shell xtra}}
<lang Lingo>shell = xtra("Shell").new()
props = [:]
props["operation"] = "runas"
props["parameters"] = "/t INFORMATION /id 123 /l APPLICATION /so Lingo /d "&QUOTE&"Rosetta Code Example"&QUOTE
put shell.shell_exec("EventCreate", props)</lang>


=={{header|PicoLisp}}==
=={{header|PicoLisp}}==