Java tutorial
import java.io.File; public class Main { public static void main(String[] args) { File aFile = new File("c:/a.htm"); System.out.println(aFile.length()); } }