SetFileAttributes("pathfile",FILE_ATTRIBUTE_NORMAL)BOOL SetFileAttributes( LPCTSTR lpFileName, // pointer to filename DWORD dwFileAttributes // attributes to set );FILE_ATTRIBUTE_NORMAL The file has no other attributes set. This attribute is valid only if used alone. FILE_ATTRIBUTE_READONLY The file is read-only. Applications can read the file but cannot write to it or delete it.
LPCTSTR lpFileName, // pointer to filename
DWORD dwFileAttributes // attributes to set
);FILE_ATTRIBUTE_NORMAL The file has no other attributes set. This attribute is valid only if used alone. FILE_ATTRIBUTE_READONLY The file is read-only. Applications can read the file but cannot write to it or delete it.