Author: Jonas Bilinkevicius How do I change the attributes of a file like write protection, hidden etc. ? Answer: 1 var 2 F_Attr: Word; 3 4 F_Attr := FileGetAttr('MyFile'); 5 6 {Turn ReadOnly OFF} 7 FileSetAttr('MyFile', F_Attr and not faReadOnly);