# Enviroment Variables - Delphi 2006

**URL:** https://www.finalbuilder.com/forums/t/enviroment-variables-delphi-2006/630
**Category:** Discussion
**Created:** [October 27, 2007, 7:26am UTC](https://www.finalbuilder.com/forums/t/enviroment-variables-delphi-2006/630 "2007-10-27T07:26:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![srowat](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/3bc359/32.png) [@srowat](https://www.finalbuilder.com/forums/u/srowat)
#### Post date: [October 27, 2007, 7:26am UTC](https://www.finalbuilder.com/forums/t/enviroment-variables-delphi-2006/630/1 "2007-10-27T07:26:37Z")

</div>

Hi,

I've just started evaluating FinalBuilder and I'm having difficulty compiling my Delphi 2006 project.&nbsp; I use a lot of Enviroment Variables in my Libarary Path and when I attempt to execute the **_Compile Delphi Win32_** action I receive the message **_Error expanding variables in Library Path_**.&nbsp; This happens for both **_System variables_** and **_User overrides_**.&nbsp;

Error expanding variables in Library Path: Variable: BDSPROJECTDIR - does not exist.

I am missing a setting or something?

Thanks,

Scott

---

<div class="post-metadata">

### Author: ![srowat](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/3bc359/32.png) [@srowat](https://www.finalbuilder.com/forums/u/srowat)
#### Post date: [October 27, 2007, 7:32am UTC](https://www.finalbuilder.com/forums/t/enviroment-variables-delphi-2006/630/2 "2007-10-27T07:32:33Z")

</div>

Hi,

I figured out that you need the set the **_Use BDS 2006 Enviroment Variables at Startup_** option&nbsp;and that solves the problem with all **_User overrides_** being added to the list of available variables.&nbsp; However, other **_Enviroment Variables_** that are&nbsp;under the **_System variables_** , such as BDSPROJECTDIR, are still not available.&nbsp; As a workaround, I add the BDSPROJECTDIR to the **_User overrides_** and it is now available and the **_Library Path_** gets expanded properly.

Thanks,

Scott
