Jump to content

Write to Windows event log: Difference between revisions

Added 11l
(Added Wren)
(Added 11l)
Line 4:
Write script status to the Windows Event Log
<br><br>
 
=={{header|11l}}==
{{trans|C}}
 
<lang 11l>:start:
I :argv.len != 5
print(‘Usage : #. < Followed by level, id, source string and description>’.format(:argv[0]))
E
os:(‘EventCreate /t #. /id #. /l APPLICATION /so #. /d "#."’.format(:argv[1], :argv[2], :argv[3], :argv[4]))</lang>
 
=={{header|AutoHotkey}}==
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.