Autor Beitrag
Pendergast
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Di 26.11.02 11:04 
Hallo,
wie kann ich das Attribut 'Versteckt' von einem Ordner setzen?

THX
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 26.11.02 14:07 
Versuch es mal mit FileSetAttr aus der SysUtils Unit.

Hier ein Beispiel aus der Delphi-Hilfe:
ausblenden Quelltext
1:
2:
3:
  Attrs := FileGetAttr('c:\test');
  If Attrs and faHidden <> 0 then
    FileSetAttr('c:\test', Attrs - faHidden);

Gruß
TINO
Pendergast Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Di 26.11.02 15:11 
Danke,
hat geklappt