>Does anyone have C code for copying files from one directory to another.
> DOS and FOX to slow here.
>
> I would like to incorporate this routine into my projects.
>
> Something like this --
>
> ie. I pass 2 parameters (Source, Target)
> =fx_copy('k:\client\markup.dbf' , 'n:\client\newmarket\markup2.dbf')
>
> Thanks,
> George Rembos
I very much doubt you will get much better performance than with XCOPY (XCOPY can copy an entire folder, with subfolders), or a function from the Windows API. I suppose the main bottleneck is disk access, and that can't be avoided when copying files.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)