Hi Barbara,
Just noticed that you have brackets around the to and from files. Normally there are no brackets, so my guess is this is the problem.
I had similar things happen to me using DELETE FILE("filename.ext"). I had been using delete this way for many years and it was only when I was getting the occasional file not deleted that the UT set me straight and no problems since.
Regards
Doug Johnston
>Has anyone run into problems using the COPY FILE command in VFP 7 SP1? I'm
>getting a "File not found" error with this command:
>
>COPY FILE (tcCustPath+"NextPKey.dbf") TO (lcSubDir+"NextPKey.dbf")
>
>Wait windows inserted before this command show that tcCustPath and lcSubDir
>contain what we expect them to, including a backslash at the end of each
>variable. The command works successfully from the command window if we
>initialize tcCustPath and lcSubDir by hand.
>
>My client has an employee who says she's had other problems with the COPY
>FILE command, and avoids using it. I haven't run into problems with COPY
>FILE until now.
>
>I'm going to their site tomorrow to see if I can figure this out.
Previous
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