摘要
文件的属性包括文件的产生修改和访问时间以及读写隐现等 ,在 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