用来方便地拷贝Windows事件日志文件到当前目录下,可分发给用户运行以使其方便地获取Windows事件日志文件,再手动发送给开发者,便于软件崩溃原因的排查
A utility to conveniently copy Windows Event Log files to the current directory. It can be distributed to users for easy acquisition of Windows Event Log files, which they can then manually send to developers to facilitate the investigation of software crash causes.
目前:
复制 Windows 事件日志(Application.evtx 与 System.evtx)到当前目录。
Currently:
Copy Windows event logs (Application.evtx & System.evtx) to the current folder.
- 自动申请管理员权限
Automatically requests administrator rights - 复制两份日志文件至程序所在目录
Copies the two log files to the program directory - 完成后显示提示
Shows a confirmation when finished
- 获取 evtxCopyer.exe(Release 页面或自行编译)
Download evtxCopyer.exe (from Releases or build yourself) - 以管理员身份运行(双击后自动弹出 UAC)
Run as administrator (UAC prompt appears automatically) - 同目录出现 Application_copy.evtx 与 System_copy.evtx
Application_copy.evtx and System_copy.evtx appear in the same folder
使用 Visual Studio ,新建控制台项目,直接拷贝evtxCopyer.cpp的内容粘贴到自动新建的cpp文件内,或将evtxCopyer.cpp放入项目代码所在目录下并添加入项目内,再编译即可
Using Visual Studio, create a new console project. Either directly copy the content of evtxCopyer.cpp and paste it into the automatically created cpp file, or place evtxCopyer.cpp in the directory where the project code is located, add it to the project, and then compile it.
生成单文件 evtxCopyer.exe,无额外依赖。
Produces a single evtxCopyer.exe with no extra dependencies.
事件日志可能包含敏感信息,对外分享前请脱敏处理。
Event logs may contain sensitive data; please sanitize before sharing.
MIT License,详见 LICENSE 文件。
See LICENSE file for the full MIT License text.