How can I create an empty folder in Java?
File f = new File("C:\TEST"); try{ if(f.mkdir()) { System.out.println("Directory Created"); } else { System.out.println("Directory is not created"); } } catch(Exception e){ e.printStackTrace(); }
1.4m articles
1.4m replys
5 comments
57.0k users