Re: Copy Files
- From: Tim Hobson <Tim@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Apr 2005 09:57:06 +0100
I copy data files as a backup on a regular basis - I assume you do mean that and not the program files. I have a table dd-files containing the name and locations of all the files. First, close data all, then use dd-files and scan it copying to back up. The close dd-files and copy that. Then reopen all files.
If you want to copy program files, as I also do during the build of a new application, then I use a separate application which does not load the files to be copied so the problem you face does not arise.
n article <eo5u51du6643hiirit1biv0b96no068rv1@xxxxxxx>, Jack Jackson <jacknospam@xxxxxxxxxxxxxxx> writes
On Thu, 14 Apr 2005 10:57:06 -0700, "Leon" <Leon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Everybody.
For some reason I never came across this problem before. I created Exe that backs up files in my working folders. Even though I run exe file, it cannot copy files that are part of my exe. For example I have a form that is called CopyExe.scx. My exe cannot copy files CopyExe.scx and CopyExe.sct. The same problem I have with my classes that I am using inside of the form. Does anyone know what can be the problem and how to overcome it?
Thanks in advance.
That's how VFP works. When you open a file, no matter what path you specify, if a file with the same name and extension is included in the .exe or .app VFP opens the one in the .exe or .app.
I don't know any way around this using VFP commands. You probably have to use Windows Explorer to access the files.
-- Tim Hobson .
- References:
- Copy Files
- From: Leon
- Re: Copy Files
- From: Jack Jackson
- Copy Files
- Prev by Date: Re: Missing the sct file
- Next by Date: RASDIAL API
- Previous by thread: Re: Copy Files
- Next by thread: Converting classes defined in a PRG into VCX-based classes
- Index(es):
Relevant Pages
|