Recent

Author Topic: File attribute change as well as date created, last modified, last accessed  (Read 5051 times)

sasa

  • Guest
FPC 2.2.4, Lazarus (perhaps several month ago SVN revisioin).

File attribute change as well as date created, last modified, last accessed is fairly easy to accomplish with Delphi (API functions). However, existion of similar functions on FPC/Lazarus and for Win/Linux is not familiar to me.

Thanks anyone in advance pointing out required functions if any.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1933
I don't know if a crossplatform solution exists, but you know how to do it with windows and here ist how with linux
http://www.freepascal.org/docs-html/rtl/baseunix/fpstat.html
http://www.freepascal.org/docs-html/rtl/baseunix/stat.html

 

TinyPortal © 2005-2018