I would like to determine if a file on another computer (or network) is currently being accessed. Ideally, I want to perform this task in a batch file, but other methods of performing this feat is welcomed. Also, if there a way to be notified when the file is not being accessed (locked) anymore? Thanks.
Edit: Sorry, I failed to mention the OS. This is on Windows based machines and primarily Windows XP SP2/SP3 machines.