>>Hi All,
>>
>>My exe app has a txt file contained within it. How do I copy it out to the users hard disk? It keeps looking for the original file along the original path when I compiled the exe file.
>>
>>TIA,
>
>You could extract it from the EXE using STRTOFILE and FILETOSTR functions:
>
>STRTOFILE(FILETOSTR("TXTWithinTheExeFileName.TXT"),"ExternalName.TXT")
>
>But that will not resolve your problem. VFP searches first in the EXE and then in the path. So you must include that file with Different name in the EXE.
Thanks. Did have it somewhere but was in a rush :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.