Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Delete a file

Java: Delete a file
{filelink=7970}

import java.io.File;
import java.io.IOException;
public class Delete
 {
  public static void main(String[] argv) throws IOException
  	 {
    File test = new File("c:/test3.txt");
    test.delete();
  }
}

Users who found this page were searching for:

  • javascript java scriptengine
  • perl factorial
  • read email python
  • java swing label html strikethrough
  • list year and month between two dates in java
  • python file transfer encode
  • python open file and read
  • how to underline the string in java
  • java date format %t
  • how to include commportidentifier in javax folder

No comments yet.

Leave a Comment