File_WaitWhileExist(sFile,iWaitMaxMin,iCheckIntervalSec)
Checks Check if a specified file exists, and waits wait while the file exists or until a timeout occurs.
If the file is deleted before the timeout occurs, gbValue returns TRUE, otherwise gbValue returns FALSE.
...