I need to have a code which closes all of the files open in the path specified, for example: if the path is: "C:\TEMP\" and contains 3 files, of which 2 are open, the code must check which files are open of these 3 and close them.
Loop through and close all of them. Trap the error if they are closed already.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.