C/C ++编程以在目录中列出文件的属性 [英] C/C++ programming to list files' attributes in a directory

查看:76
本文介绍了C/C ++编程以在目录中列出文件的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了 http://www.tenouk.com/ModuleA1.html 中的代码来列出文件及其目录中的属性.

我可以列出文件的时间轴:创建时间,上次访问时间,上次写入时间.

但是,还有一个我不知道如何列出MFT(主文件表)修改/更改时间的时间表.请帮忙.

解决方案

我认为您所寻找的信息不可用;我认为您所寻找的信息不可用.请参见此处 [ POCO Framework [ ^ ].

检查此方法 [ ^ ]获取文件属性
和此方法 [http://www.tenouk.com/ModuleA1.html to list files and their attributes in a directory.

I can list files timeline: create time, last access time, last write time.

However, there''s another timeline that I don''t know how to list which is the MFT (Master File Table) modified/changed time. Please help. Your help will be greatly appreciated.

解决方案

I don''t think the information you are looking for is available; see here[^].


If you want a cross platform solution and easy to work with then you can try to use POCO Framework[^].


Check this Method[^] to get file attributes
and this Method[^] to find the files


这篇关于C/C ++编程以在目录中列出文件的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆