Sergey,
yes, this one sounds simple enough. I will give it a try next week.
Thanks
Agnes
>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,).
>>
>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]