>Hi all
>
>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.
(1) with fopen/fcreate + fread/frwite
(2) StrToFile(FileTostr("EMBEDDED" + lcOrigReportName)), lcSeleReport)
Gregory