There is alo a FileExists() function that will "test" whether a file is really there.
You may want to consider locking files "IF" there is a chance that some other part of you app will be reading that file (while you are deleting it)
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.