in reply to Detecting locked files in Windows

by convention, ms office creates a "lockfile" whose presence tells ms office that the file is locked. The "lockfile" gets a name that relates to the original name like ~$est.doc to test.doc Also, see File locking