[SOLVED] How to point exe file to custom folder? lazarus / 13-General ---------------------------------------------------------------------- incendio · 2022-02-03 02:35 Hi guys, I am using Lazarus 32bit ver 2.0.12 on Windows. How to point my exe file to a specific folder, let say d:\myapp ? ---------------------------------------------------------------------- Handoko · 2022-02-03 03:48 Maybe this is what you want: SetCurrentDir https://www.freepascal.org/docs-html/rtl/sysutils/setcurrentdir.html ---------------------------------------------------------------------- dseligo · 2022-02-03 06:29 Or, do you mean where exe will be located after compilation? In that case go to the menu Project/Project Options, and then in the Compiler Options/Paths you have setting 'Target File Name (-o)'. ---------------------------------------------------------------------- incendio · 2022-02-03 10:10 Quote from: dseligo on February 03, 2022, 07:29:13 amOr, do you mean where exe will be located after compilation? In that case go to the menu Project/Project Options, and then in the Compiler Options/Paths you have setting 'Target File Name (-o)'. Yes, this is what I meant. Thanks you all for your hints.