Delphi Developer
Explain me, please, how I can to delete all attributes of file... Why I can't to do it with standart SetFAttr?? Explain me, please...!
If you can, more better via email... -- SY Dmitry DAC d...@trk.aip.nikolaev.ua 2:466/7.56 ICQ 9663543
Dmitry wrote: > Hello ALL! > Explain me, please, how I can to delete all attributes of file... > Why I can't to do it with standart SetFAttr?? > Explain me, please...!
> Hello ALL!
> Explain me, please, how I can to delete all attributes of file... > Why I can't to do it with standart SetFAttr?? > Explain me, please...!
Procedure ChangeAttribute;
var Attribute : word; FileToDelete : text;
begin {$I-} assign (FileToDelete,{* your_file_name_goes_here*}); reset (FileToDelete); {$I+}
getfattr (FileToDelete,Attribute); {get current attributes} setfattr (FileToDelete,Attribute AND $3E); {turn off ALL attributes}
end;
--
Regards, Jim Wilson
1. Get file attributes of compressed files
2. FindFirst, FindNext using file attributes
3. File-attributes (DOS)
4. File Attributes???
5. File Attributes???
6. Changing file attributes in Delphi 2.0...
7. File Attributes - D3 to D5
8. Change File Attributes
9. File Attributes
10. File Attributes: date/time?!