Try this:
sPath = justpath(sys(16, 0))
>For example in VB:
>--
>sPath = App.path & "\Mytable.dbf"
>
>*sPath could equal something like "C:\Program Files\MyProgram\Mytable.dbf" in VB
>--
>VB would return to you the EXE path only, then you could add on any file to the end if you wanted. In this case, I was wanting to get to 'MyTable.dbf' and use it.
>
>Useful if you have files stocked in your EXE directory you would like to access.
>Is it possible to do this in VFP?
Peter Franz