Java tutorial
//package com.java2s; import java.io.File; public class Main { public static boolean isFolderExists(String strFolder) { File file = new File(strFolder); if (!file.exists()) { if (file.mkdirs()) { return true; } else return false; } return true; } }