----- Original Message ----- From: "Christof Wollenhaupt" <christof.wollenha...@foxpert.com>
a file, it
renames the original, saves the new one, deletes the copy and then renames
the new one. When the PRG/SPR files is opened with a read lock by another
program (usually a virus scanner or a text viewer), the delete operation
succeeds, but does not actually delete the file. Rather it's marked as
DELETE_PENDING, which means the file will be deleted once the reading
program closes the file. Since the file still exist, the final rename
fails. As a result you end up with no PRG file, at all.

No. AFAIK,

VFP first temporarly renames the .bak (if it exists)
Then, it copies the original on a 'new' .bak
And then it creates the new .prg.



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/E1BFCE41EC0C44E0946C0A3FAC065F3A@MuriellePC
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to