>Hi All:
>
>From a Win98 Workstation (using VFP 7.0) I'm trying send a command to copy a file from one server to another server.
>
>The Windows API "CopyFile" and VFP's "Copy File" works. However, both will not return control to VFP until the file copy is completed. Is there a command/function/API that will begin a file copy and immeditely return control back to VFP - w/o waiting for the file copy to finish?
>
>I have the directories of each server mapped as "G" and "H". I'm trying to copy MPEG files as such ... Copy G:\VIDEO\HELP.MPG TO H:\VIDEO\HELP.MPG
>
It'd be pretty trivial to spawn an XCOPY to run as a separate process; I'd suggest using API_APPRUN using the LaunchApp method, but something as trivial as the VFP RUN command with one of the /N command line parameters would allow it.