>>>I have a compiledd .app and a compiled .exe and I want them to know what directory they have launched from - what sys() does that? I don't see....
>>>
>>>Thanks.
>>
>>sys(5)+curdir()
>
>This will give the current directory, but not necessarily the one that the program was launched in. IOW, a CD or SET DEFAULT will change this value, but will not change the directory returned by HOME().
Yes, I meant it should be checked when application just started and kept as some property.
Edward Pikman
Independent Consultant