>>>>>>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.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham