Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi .cfg file Paths

Hi the path list in my project CFG file is too long, how can i define a path shortcut like $(BDS) Thank you

like image 370
There is no spoon Avatar asked Dec 08 '25 06:12

There is no spoon


1 Answers

'Options' dialog -> 'Environment Options' -> 'Environment Variables'. This page has a section 'User overrides'. That's where you define your shortcut. You can use a fully qualified path or the already defined '$(BDS)' for variable value. Example:

Variable  Value
CGR       $(BDS)\..\..
THR       S:\Dev\Codegear\3rd

Later in the library paths use them like $(THR)\JVCL\....

like image 200
Sertac Akyuz Avatar answered Dec 10 '25 07:12

Sertac Akyuz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!