Hi Michael,
I am not sure it I am talking through my hat here, or if this is feasible for you, but if the file stays locked until the locker program quits, can you shell out to another prog to do the copy. (And hide your main app). Then if the copy is aborted, the small utility prog quits and frees the file.
Or am I way off beam?
Anyhow, hope you find a solution soon as this is obviously hindering you. Success!
			
			
									
									How to unlock locked files?
- Michael Vogel
 - Addict

 - Posts: 2821
 - Joined: Thu Feb 09, 2006 11:27 pm
 - Contact:
 
Not very elegant...Dare2 wrote:...if the file stays locked until the locker program quits, can you shell out to another prog to do the copy...
...as the copy routine itself is the reason for the lock, the actually written (and so locked) file is only known exactly in that (external) routine, so it would be necessary to do a external file to write a log (cool, another file to unlock
...but a reason, why brute force methods get sometimes popular :roll:
