Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 faster than VFP7- running program to copy EXE files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00744274
Message ID:
00744797
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Has anyone encountered this effect w/ VFP7?
>
>Using VFP5, the time to run my COPYEXE program was maybe 1 second, while in the VFP7 environment it takes 18 or more seconds. The EXE files are 828 KB each.
>
>The CODE is similar to:
>
>START>>>>>>>>>>>>>>>>
>cd d:\a\prog\programs
>copy file myprocess.exe to c:\aa\runexes\myprocess.exe
>... 8 more similar COPY FILE commands...
>END>>>>>>>>>>>>>>>>>>
>
>Any clue as to why VFP7 takes so long?

I can tell you that I do the same thing, and vfp7 is at least as fast at copying the files than vfp5 or 6 for me. I use a small EXE to do the copys, just to be sure we're on the same page here. So, first suggestion: If you're NOT using an EXE for the file copys, try doing that.

Next suggestion: I'd run the Coverage Log on your "copy exe" program/app, and see where the delay appears. Like, is it spread out among each file copy, or is there a hang while it searches for the initial path/drive? This might give a clue as to what's going on, anyway.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform