期刊文献+

VisualC++改变文件和文件夹属性的方法

TO CHANGE THE ATTRIBUTES OF APPOINTED FILE AND FOLDER WITH VISUAL C++
下载PDF
导出
摘要 文件的属性包括文件的产生修改和访问时间以及读写隐现等 ,在 DOS下文件的属性可以用 DOS命令加以修改 ,在 WINDOWS下 ,可以通过右键的属性改变一组文件和文件夹的读写属性 ,但是却不能修改文件的产生修改和访问时间 ,并且不能修改子目录下的文件和文件夹的属性 .本文基于 Win-dows的 API设计了通用的文件和文件夹的属性 (包括文件的产生修改和访问时间以及读写隐现等 )的修改方法 ,并实现了其 Visual C+ The file's attributes include the time when it is created, modified and accessed, its being read and written, concealed and shown. They can be modified by DOS command under DOS. But under WINDOWS, the read-write properties can be changed by the properties shown on the right key while the file's creation, modification and access time can't, nor can the properties of files and folders under subdirectory. Based on the Windows' API, the article contrives the modification methods of the properties of common files and folders, including the file's creation, modification and access time as well as it's being concealed or shown, and achieves the Visual C++ program coding.
作者 陈美莲
出处 《佳木斯大学学报(自然科学版)》 CAS 2002年第1期102-107,共6页 Journal of Jiamusi University:Natural Science Edition
关键词 VISUALC++ 文件 文件夹 属性 产生时间 修改时间 访问时间 读写隐现 DOS 程序设计 file folder read-write property creation time modification time access time
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部