File in use

Hello to all, I want to know if a file is in use, someone you would know to help me? Thanks in advance

Hi, I don’t know if it’s a good idea but you colud try with this: if exists(FileName) and not then … in this case you have the file but you can’t open it probabily because it’s in use… I hope that could help you. Bye Nives

ok thank you Nives Gava