reset password
Author Message
aaronyen
Posts: 29
Posted 12:49 Mar 20, 2012 |

Hello everyone,

I am unable to delete my temp file upon exiting the program even without any error.  I've tried using deleteonexit(), delete(), etc and placing them in finally, end of every method that opens it and places that don't even matter.  I've closed all file readers and writers but still no luck.  Does anyone have a solution to this?  Thank you.

kknaur
Posts: 540
Posted 12:57 Mar 20, 2012 |

Sorry, I was having problems with this and one issue was that i wasnt closing the file streams properly, but once I did that the files got deleted.  But if you have done this already, then I do not know what the issue could be.

aaronyen
Posts: 29
Posted 13:44 Mar 20, 2012 |

Thank you for the input.  I've fixed the issue.