Why doesn't file.delete() work?
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Wednesday, April 4, 2001 04:14 AM

When I try to delete several files some are deleted and some are not. The names are correct, else I wouldn't be able to read the content of the file first. What could be the reason some files cannot be deleted. (Files are not read-only).

Re: Why doesn't file.delete() work?

Posted By:   Mark_Thornton  
Posted On:   Tuesday, April 10, 2001 03:03 AM

Some operating systems do not allow you to delete a file which is held open by another application (or even the same app). Delete may also fail if you do not have sufficient permission to delete file(s) in question.
About | Sitemap | Contact