SetAttributes file lazarus / 8-Other ---------------------------------------------------------------------- neodivx · 2007-11-21 13:33 Hi I create a batch file, where i place some command. To make it run, i must change the attributes: make to soft executable. How can i make the attributes 'soft executable' on this text file with fpc ? ( to be more clear, how can i set 'executable file' on a text file that i create with a tstringlist ) thanks alls ---------------------------------------------------------------------- Bart · 2007-11-22 19:29 And the OS is? Bart ---------------------------------------------------------------------- neodivx · 2007-11-28 17:35 sorry for that. On linux ;-) ( Setattribute works well on windows   ) ---------------------------------------------------------------------- Bart · 2007-12-01 17:23 You have to change the files permissions, take a look at chmod(). In unixutils.pp there seems to be one. IIRC there is/was also a FPchmod(), not sure where. Bart ---------------------------------------------------------------------- bee · 2007-12-03 19:25 OOT: Maybe this would help you. I have FPC v.2.2.0 docs in .chm format. It's lot more easier to search and navigate .chm format compare to other formats. You can download the .chm file from here. HTH. ---------------------------------------------------------------------- RudieD · 2007-12-05 17:35 Thanks BEE !