For how long can a file be locked in windows after program is closed?
Posted
by Skadlig
on Stack Overflow
See other posts from Stack Overflow
or by Skadlig
Published on 2010-03-26T14:15:10Z
Indexed on
2010/03/26
14:23 UTC
Read the original article
Hit count: 362
In a couple of scripts that I use I have problem that is intermittent.
Sometimes the script fails when trying to delete a file. According to the error log due to the file being accessed by an other process. I'm guessing that windows not had time to release the file after the previous operation performed on the file ended.
What amount of time would be a good guesstimate after which windows should have had time to release the file again?
© Stack Overflow or respective owner