General information
Category:
Coding, syntax & commands
Title:
How to copy a file included in exe to disk ?
Hi,
My program needs an fll to decrypt data files. In order to copy the fll to disk upon the first run, I include a slighty renamed file (xxxx.fl_) in the project and then compile the exe. When the program is run, if file xxxx.fll is not in current directory, I say COPY FILE 'xxxx.fl_' TO 'xxxx.fll'.
The problem is that during development file 'xxxx.fl_' is in a subdirectory under the pjx file and at runtime the COPY command looks for the file in that subdirectory (which doesn't exist) instead of in the exe. How can I solve this problem without copying 'xxxx.fl_' into the same directory as the pjx file?
Thank you very much.
Alex
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only