>>>>>I am troubleshooting a problem that could have been caused by function File() not finding a file in my .EXE. So I have a couple of questions:
>>>>>
>>>>>1. Does FILE() look inside the .EXE file (just to be sure that this is a valid function to search in .EXE)?
>>>>
>>>>
Yes>>>>
>>>>>2. Does FILE() care if the file is in upper case, lower case, or mixed case? (e.g. file( "mYfile.dbf") or file("MYFILE.DBF") etc.)
>>>>
>>>>
No>>>>
>>>>>
>>>>>TIA
>>>
>>>Thank you, Boris.
>>>
>>>If you think of any "circumstance" where FILE() would not find a file in the .EXE, please let me know.
>>
>>There is no way. Even if you search with full path and have the same file built-in EXE you always will get .t. as a result of the function.
>>
>>So if you build "TEST.TXT" in EXE and search it like this:
>>
>>? FILE("c:\MyTestrFoilder\Test.TXT") ---- > .t.
>>
>>even if there is no such file or folder.
>
>Does .EXE have to be in the PATH or .EXE simply searches through itself even if it is not in the PATH?
No, VFP just searches in EXE.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.