如何在Folder中每5分钟获取一次文件属性更新 [英] How to get File Attributes Update for every 5 minutes inside Folder

查看:53
本文介绍了如何在Folder中每5分钟获取一次文件属性更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



任何人都可以帮助我,如何每隔5分钟更新一次文件夹内的文件,在C ++中定期打印那些文件名,大小和修改日期...刚刚开始读取文件详细信息并存储在结构中。


can anyone help me,how to update files inside folder for every 5 minute once,hace to print those file name,size and modified date periodically in C++...have just started reading file details and store in structure.

推荐答案

尝试FileSystemWatcher,我不确定它是否能完全满足您的期望
Try FileSystemWatcher, I'm not sure it can meet your expectation exactly


您可以使用每n分钟在您的程序中调用的文件api



使用方法api搜索谷歌
you can use file api that called in your programm every n minute

for method of use api search google


这篇关于如何在Folder中每5分钟获取一次文件属性更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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