Thread
:
Deleting a File that is opened
View Single Post
#
6
(
permalink
)
01-26-2008, 10:36 PM
tim
Senior Member
Join Date: Dec 2007
Location: South Africa
Posts: 334
Try this
Hello DwayneWayne
You can try the File.deleteOnExit() method. It should wait until your program finishes running and then deletes the file. However, this will not work, if some other program is using the file.
Good luck!
__________________
If your ship has not come in yet then build a lighthouse.
tim
View Public Profile
Send a private message to tim
Find all posts by tim