>I need to copy DBFs / CDXs / FPTs from one directory to another (for backup purposes). The VFP command COPY FILE fails if the table is open. I am currently shelling to DOS and using the COPY command (in DOS) which works even when the table is open, but I would rather not shell out to DOS. Are there any alternatives? I also don't want to resort to ActiveX controls.
> Thanks, Chaim
I agree with Ed's approach via the code he supplied.
Taking it one step further. Making this a COM Server so you just pass start of the job to the server it would really save time and bandwidth.
Personally I like the ActiveX approach using DynaZip myself. I get a snapshot of everything as it hits the table. When you get into dbf's that are in excess of 500 meg you might rethink the flock() becasue of time locked. But YMMV
__Stephen