Yes FILE() will always find a file embedded in EXE as long as it run from inside EXE. If it's executed from external FXP/APP, it'll not see files inside EXE.
>
>I included a small .DBF (free) file into my application .EXE. This file is supposed to be a semaphore to run certain (custom) procedure if the file is present. So I am using code
>
>
>if file( "mytokenfile.dbf")
> *-- Use custom procedure
>endif
>
>
>But I seem to remember reading in one of the messages here that sometime FILE() may not "see" the file in the .EXE. Am I confusing something or this case is possible?
>
>Thank you.
--sb--