You may want to try
http://www.berezniker.com/file-operations-progressbar>Is there some special way one needs to xcopy a large number of files from a
>VFP form using the Run command?
>
>The click() syntax I use is...
>
>mcopy = [XCOPY "]+trim(fromdir)+[" "]+trim(todir)+["]
>run cmd /c &mcopy
>
>If copying a large number of files, it stops copying on the 290th file. If I run the same code from the command prompt, it copies all 400+ files.
>
>
--sb--