how to delete a file when it is open ?
Hi all,
I want to delete a file even it is open, and that should be deleted with out exiting the program itself. By using deleteOnExit() method of File class it is possible, but it is not valid for all types of files, and it works if we exit the program only.
I need a way to delete a file even it is opened, and we should not use deleteOnExit() method to achieve it.
Help appreciated ...

