FileGetAttr - work on Linux FPC 2.2.4? lazarus / 1-Linux ---------------------------------------------------------------------- Fred556 · 2009-11-02 16:50 Hello, work the command FileGetAttr right on Linux FPC 2.2.4? When I set a file in windows set then attrib hidden system and archive can I check them in linux? DOS: attrib +h +s +a file Can I check this with FileGetAttr right in linux? How? ---------------------------------------------------------------------- theo · 2009-11-02 16:57 Afaik hidden and archive don't exist on Linux file systems. I don't know about FAT or NTFS drives. ---------------------------------------------------------------------- Fred556 · 2009-11-02 17:08 Hello, mean on Fat32 USB Flash Drives. Is there a way to check this with freepascal? ---------------------------------------------------------------------- Fred556 · 2009-11-02 19:37 Hi, I found follow: http://mantis.freepascal.org/bug_view_page.php?bug_id=13431&history=1 This tell about a bug in V 2.2.5 in the FileGetAttr function. Does the problem fixed? And where I can download fixed sysutils.pas? A other question. Why does not exists AssignFile, Closefile, Rewrite, Reset, ... in Sysutils in pure freepascal? ---------------------------------------------------------------------- theo · 2009-11-02 21:52 Quote from: Fred556 on November 02, 2009, 08:37:34 pmI found follow: http://mantis.freepascal.org/bug_view_page.php?bug_id=13431&history=1 This tell about a bug in V 2.2.5 in the FileGetAttr function. Does the problem fixed? And where I can download fixed sysutils.pas? It is not related to your problem afaics. Plus it is "suspended" not "fixed" It think it's not possible to get the attributes you want on unix. Quote from: Fred556 on November 02, 2009, 08:37:34 pmA other question. Why does not exists AssignFile, Closefile, Rewrite, Reset, ... in Sysutils in pure freepascal? ? They do exist. They are part of the system afaik. You don't need an extra unit.