查找回收站上次清空的日期

发布于 2024-09-07 16:19:41 字数 83 浏览 3 评论 0原文

我在计算机上的哪个位置可以找到上次清空回收站的最后日期,此类事件是否会存储在 Windows 系统日志中?如果有的话在哪里?

谢谢 :)

Where on my computer would I be able to find the last date that the recycle bin was last emptied, would such an event be stored in the windows system logs? and if so where?

Thanks :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

℡寂寞咖啡 2024-09-14 16:19:41

我怀疑它会记录在事件日志中的任何位置,但可能会留下文件系统痕迹。

更新:使用 UnixTools 我可以确认还留有文件系统痕迹。如果您导航到C:\$Recycle.Bin,将会有许多条目(即使垃圾箱显示为空)。这些条目似乎对应于系统上的安全 ID (SID)。在我的测试中,最近修改的是我上次清空回收站的日期和时间。

这意味着可以使用 Windows API 以编程方式检索它。

I doubt it would be recorded anywhere in the event logs, but there might be file system traces left.

UPDATE: using UnixTools I can confirm there are file system traces left. If you navigate to C:\$Recycle.Bin there will be a number of entries (even with the bin appearing empty). These entries appear to correspond to security IDs (SIDs) on the system. In my test the most recently modified one was the date and time I last emptied the recycle bin.

This means it probably can be retrieved programatically with the Windows API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文