Muti-platform file-system navigation. lazarus / 23-Operating Systems ---------------------------------------------------------------------- Человек_Борща · 2015-01-13 10:31 Greetings! I start writing application for several operating systems. The big problem for me, is file-system navigation, and I/O operations. Can anybody explaing, how to use pathes in linux OS? e.g. I doing DeleteFile('D:\File.txt') or TStrings.LoadFromFile('D:File.txt') in windows. Other: In linux where install my application? How I can get path where application binary are located? e.g. ExtractFilePath(ParamStr(0)) Where the temporary folder? ---------------------------------------------------------------------- Bart · 2015-01-13 11:02 Start at this wiki page Bart ---------------------------------------------------------------------- Человек_Борща · 2015-01-13 11:33 Thanks. How I can add some article to wiki, or translate some article? ---------------------------------------------------------------------- mig-31 · 2015-01-13 14:53 For Linux standard program installation path 1) for binary file /usr/bin 2) libraries (dll/so) /usr/lib or usr/lib64 3) application settings for user /home//<.applicationname>(application name really starts with dot) You can obtain paths by using FreePascal(Lazarus) functions, how told to you @Bard ---------------------------------------------------------------------- Leledumbo · 2015-01-13 16:23 Quote from: mig-31 on January 13, 2015, 03:53:16 pm2) libraries (dll/so) /usr/lib or usr/lib64 Recently /usr/lib32 also exists on 64-bit systems, where /usr/lib already contains 64-bit libraries, /usr/lib64 is simply a symlink to /usr/lib on such a system.