⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page323.vbs

📁 Apress - Managing Enterprise Systems With The Windows Script Host Source Code
💻 VBS
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -