Does anyone know of any code to detect and close locks on files that are already in use (ie a remote machine has crashed, several files are left open and I want to close them so I can open them from a different machine)

Cheers

Chris