Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a file if it is in use, i.e the VFP executable for
Message
From
27/10/2006 16:30:12
 
 
To
25/10/2006 12:18:01
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164421
Message ID:
01165178
Views:
26
Thanks for the help. I eventually used the form
RUN xcopy c:\path\*.* c:\path\ /Y
or
RUN xcopy c:\path\*.dll c:\path\ /Y
so user could see the files being copied. The first form is for tabkes and indexes and the second one is for the runtime files. I decided that copy the executable was not a good idea.

>>I want to backup the file xxx.exe. It happens to be the executable for the VFP program currently executing so I get a "file in use" error message.
>>
>>Is there a way of copying the currently executing VFP program from with VFP?
>>
>>I hope this is clear.
>>
>>TIA
>
>try the following
>RUN xcopy c:\path\xxx.exe c:\path\
>y may want to see if exe already exist on the destination otherwise u will get an want to overwrite file dos message.
>xcopy allows u to copy files in use.
>I used this to create by data backups while users where running the application.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform