>Thanks, I implemented a similar approach and all is well.
>
>>If you're setting your paths at startup, convert them to absolute at that point... like this:
>>
Do addpath With 'libs'
>> Do addpath With 'frx'
>> Do addpath With 'forms'
>> Do addpath With 'tools'
>> Do addpath With 'stuff'
>>...
>>
>>Proc addpath
>> Lparam cPath
>> Try
>> cPath=FullPath(Addbs(cPath))
>>
>> If Directory(cPath)
>> If Atc(cPath+',', Set('path')+',')=0
>> cPath=Set('path')+','+cPath
>> Set Path To (cPath)
>> Endif
>> Endif
>> Catch To oEx
>> Assert .F. Message oEx.Message
>> Endtry
>>
Naomi,
Hi,
Forgive me, but would you be able to explain what you call a absolute path and what you call a relative path?
so e.g. curdir() = "D:\Myapplication"
is than
"D:\MyApplication\Code" an absolute path
and
"\Code" a relative path ?
I am a little bit puzzled
Thanks for replying.
Koen
Is "D:\MyApplication\Code