>Hi,
>
>I need to test a file to see if it can be opened exclusively but, if not, I don't want the error handler to kick in. I'll test to see if the file is opened after the attempt.
>
>Any ideas?
Other than doing a short-term redirection of the error handler and trapping the error, then reseting the handler, no. EXCLUSIVE access is only determinable by test-and-set - try, and if it fails, you can't; if it suceeds, you've got exclusive access...