On Thu, 18 Feb 2010, Greg Aiken wrote: > > other things to experiment with; > > a. if the file may be successfully renamed, this implies its not being held > open (clunky solution, as would require you to rename once, then again to > bring it back to its original filename - but low tech), or
This is not correct. You can rename a file that is in use (you cannot delete it when it is in use, but that doesn't help you much here). Trying to open the file for updating is a much simpler test to make sure nobody holds the file open for writing. Cheers, -Jan _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
