B
Brad Wood
The delete method of the FileSystemObject.FileObject does not return a
result. If permissions disallow deletion, it will not raise an error.
Conversely, if the delete method does succeed, a call to FileExists directly
afterward may return true because the system hasn't updated yet (or whatever
actually goes on).
Is there any way to accurately check the result of a deletion?
result. If permissions disallow deletion, it will not raise an error.
Conversely, if the delete method does succeed, a call to FileExists directly
afterward may return true because the system hasn't updated yet (or whatever
actually goes on).
Is there any way to accurately check the result of a deletion?