Deleting a file once it is closed
807601Apr 14 2008 — edited Apr 14 2008Runtime.getRuntime().exec("C:/WINDOWS/ServicePackFiles/i386/notepad.exe C:\\CheckDemo.txt");
It will open a CheckDemo.txt file which is already there in the C:\\ Drive.
I want it to be deleted immediately after I close that file.
Any help would be appreciated.
Regards,
Snehanshu