Thanks David,
But as you guessed it needs to resolve file names outside of the VFP/DOS/WIN paths. In addition to that it may need to resolve program file names which are not included in any "OPEN" project. So it appears that it is back to the drawing board.
BTW I tried using the FoxTools
_EdGetEnv(lnWhandle, @aEnvironment)
but it only returns the justname() equivalent.
Glenn
>Glenn,
>
>fullpath() ought to do it. If the file is not on the path you can try iterating the currently open projects to find it.
>
>>Does anyone have any code which can expose the filename of the current program being edited? I know that WONTOP() return the filename but not the path. I would like to be able to get the fully qualified filename.