|
WaitForFile
Try to open a file with exclusive access. This can be very useful in a bat-file if you want to process a specific file that may be opened in another program (word for example). WaitForFile will block until it is able to open the specified file.
open file exclusive command bat cmd try open file exclusive access bat-file |