Agnes,
Just an idea
- kill search path 'SET PATH TO'
- switch to directory where file is not presented for sure 'CD whatever'
The FILE(JUSTFNAME(lcFileName)) should return .T. only if file is included in the EXE
>
>how can I determine that a file is inside the app?
>
>The file exists inside and outside the app and will be found using FILE() as well as SYS(2000,).
>
>
--sb--