Write to a Custom Event Log Using EventCreate
' Write to a Custom Event Log Using EventCreate
Set WshShell = WScript.CreateObject("WScript.Shell")
strCommand = "eventcreate /T Error /ID 100 /L Scripts /D " & _
Chr(34) & "Test event." & Chr(34)
VbsEdit includes all these samples!
VbsEdit now supports .vbs, .js, .wsf and .hta scripts.
The evaluation version never expires.
Copyright © 2001-2019 adersοft