Hi, Peter
I'm sorry to interfeer, but I want to ask you to explain this a little. I'm not sure it will work - the icon can have Working Directory set to something else. So, doubleclicking it will launch the exe in the directory set by the icon. In that case, CURDIR() will point God knows where.
What about gcStartupDir = Sys(5) + JustPath(Sys(16))?
Thank you.
>
>BTW, put this somewhere on top of your main program::
private gcStartupDir
>gcStartupDir = sys(5) + curdir()
Grigore Dolghin
Class Software.