>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.
I think this is not possible. It is a Windows-thing that files-in-use can't be copied. And xxx.exe itself will also not be able to backup xxx.exe. Sorry for the bad news. You'll have to think of another solution. One thought: Is it really necessary to backup xxx.exe each and every time?
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.