>what i am looking for : is there a way i can create and compile on one specific directory and then make the dataenvironment of the forms still look at the write folder.
In the LOAD of your forms, reset the table paths to the current directory with something like. You would have to set your dataenvironment so that it does not autoopen the tables. GCDBPATH contains the path to the tables and GCDBNAME is the name of the database. Note: the code only works with tables in a database, with free tables you have to add a bit more code.
thisform.SetAll("Database",gcDbPath+gcDbname,"Cursor")
thisform.dataenvironment.opentables()