What's the best way in a script of determining that a file has been finished being written to before going on to process it? I'm writing a script to rename user backup files to something more meaningful but obviously, I don't want to rename a file part way through its creation. -- Best Regards Glyn Davies