USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Wait until a file is no longer locked by another process
Polls the file until it can be opened for writing, up to the specified timeout. Use this before reading or copying a file that may still be written to by another process.
| Parameter | Description |
|---|---|
| cmd | File path to wait for |
| Argument 0 | Timeout in seconds to wait before giving up |
WaitForFileToUnlock "File path to wait for", "Timeout in seconds to wait before giving up"