page323.vbs
来自「Apress - Managing Enterprise Systems Wit」· VBS 代码 · 共 11 行
VBS
11 行
Dim objEvt
'get a reference to the Application event log. The key for the
'Win32_NTEventLogFile class is the Name property, which represents the
'path to the event log.
Set objEvt = _
GetObject("winmgmts:{impersonationLevel=impersonate,(Backup,Security)}" & _
"!Win32_NTEventLogFile.Name='C:\WINNT40\System32\config\AppEvent.Evt'")
objEvt.ClearEventlog ("D:\Data\EvenBackup\AppBackup.evt")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?