WAITFILE.EXE

With the WindowsEnabler WAITFILE.EXE you can wait for a file to become available again (unlocked).

Usage

WAITFILE.EXE [/C <count>] <file>

You can use the tool in combination with *EDIT when you want to wait for the user to finish editing the document.

Parameters

count

Determines how often to check if the file is file accessible (in 500ms increments). Default: /C 1

Note that waitfile will always wait 2 seconds before checking the file.

file

The locked file that has to be checked by waitfile

Return values
  1. Parameter error.
  2. File does not exist or has been deleted.
  3. -not used-
  4. File can not be accessed. Possible causes: Path or server not found, access denied, etc.