procedure TFMForm.Properties1Click(Sender: TObject);
var
Attributes: Word;
ReadOnly:Boolean;
Archive:Boolean;
System:Boolean;
Hidden:Boolean;
begin
Attributes := FileGetAttr('你的文件名');
{ read file attributes }
ReadOnly := (Attributes and SysUtils.faReadOnly) = faReadOnly;
Archive := (Attributes and faArchive) = faArchive;
System := (Attributes and faSysFile) = faSysFile;
Hidden:= (Attributes and faHidden) = faHidden;
end;