posted 19 years ago
Due to some of the operations in my program, Few files will get created among them some may be of zero bytes in case of no errors, but they will just get created.
At the end, in the process of cleanup, I am trying to delete all the above created files. I am not able to delete those files which are of zero bytes in size using delete() method in File class.
Any idea how to delete these files with zero size?