Gregory and Cetin provide you with 2 ways to copy files from EXE to disk. Cetin's solution is appropriate when embedded file is a table of any kind (table, report, class library, etc).
>
>I was under the impression that a file can simple be copied out from the EXE onto the hardisk but that is not the case for me
>
>Is this possible?
>
>
COPY FILE ("EMBEDDED" + lcOrigReportName) TO (lcSeleReport)
>
>does not work for me, though I can confirm FILE("EMBEDDED" + lcOrigReportName) returns .T. I have also tried to provide a full path but then the EXE complains that it cannot file the file.
>
>Please advise.
--sb--