Not if the file is in use by another process. This is what the whole thread is about. The file is locked by another process.