Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XCOPY under Run command
Message
From
13/02/2008 17:13:32
Dick Day
Madison County, Nebraska
Nebraska, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
XCOPY under Run command
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01292418
Message ID:
01292418
Views:
100
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.

Thanks!

Dick
Next
Reply
Map
View

Click here to load this message in the networking platform