Jump to content

Write to Windows event log: Difference between revisions

m
Lingo added
m (Lingo added)
Line 350:
Runtime.getRuntime().exec(command)
}</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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.