Try
STRTOFILE(FILETOSTR("myDbcInExe.dbc"),"myDbc.dbc")
Repeat it for .DCX and .DCT
>I have a .DBC that is included in an exe (for security reasons) is there any way I can copy this file out of the exe at runtime?
>
>If I use COPY FILE I get a file does not exist error (seems to be using the original path in the project).
>If I use a COPY TO command the files look OK but the database cannot be opened (database is invalid error)
>
>Any ideas?
--sb--