SetFileAttributes o
SetFileAttributes es lo que buscas...
Código Delphi
[-]var
Attrs : Word;
begin
Attrs := FileGetAttr('MyFile.sys');
if Attrs and faHidden <> 0 then
FileSetAttr('MyFile.sys', Attrs – faReadOnly);
end;
En el foro hay varios ejemplos al respecto,
Saludos!