Remove file attributes

Source: Internet
Author: User
File_attribute_archive file archive (files are flagged when backed up or moved).
file_attribute_encrypted encryption, which is content encryption for a file, is the default for a new file to be encrypted in the future, and if the File_attribute_system property is also set, the current property will be invalid.
File_attribute_hidden the Hidden property.
The File_attribute_normal file has no other property settings, and this property can only be used separately.
File_attribute_not_content_indexed does not establish a content index.
File_attribute_offline the Offline property. The file contents are temporarily unavailable. This property is used by Remote Storage software and cannot be changed arbitrarily.
File_attribute_readonly read-only file attributes. The application cannot be written or deleted.
The File_attribute_system file is a system file or is used by the operating system mutex.
File_attribute_temporary temporary files, use the process as far as possible to stay in memory to ensure access speed. qihoocom2008-12-16, 19:57:47attributes_value = GetFileAttributes
Attributes_value &= ~ (File_attribute_hidden | File_attribute_system)
SetFileAttributes (Attributes_value)

Http://www.cnblogs.com/lancidie/archive/2011/06/15/2081185.html

Remove file attributes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.