in reply to File Watching in Windows

How about attempting to open (for exclusive write) the file every N seconds? When the writer closes the file and releases their lock, the open will succeed, and then you can do the copy.

Replies are listed 'Best First'.
Re^2: File Watching in Windows
by MidLifeXis (Monsignor) on Sep 11, 2007 at 16:55 UTC

    Make certain that you open it in append mode, though, or you will overwrite the data you are trying to process.

    --MidLifeXis