>>I'm trying to use
>>
>>Justpath(Fullpath('my.exe'))
>>
>>To pick up a UNC or mapped server path. It works fine in development, but is picking up the wrong drive (C:\myapp's path) in a runtime environment. There is no copy of my.exe on the local machine. Can someone explain?
>
>Have you check your start-up path of your exe icon?
Ah, I get it now, it's not working quite as expected. It's picking up the Default directory, whatever that's set to..and once it's set, that's all the functions will pick up. So, I'll have to grab the path before doing any SET DEFA TO.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.