Tuesday, August 31, 2010

Article | Java Program To Create A Directory.

Java Program To Create A Directory.
Directory
Folder, directory,[1] catalog, or drawer,[2] in computing, is a virtual container within a digital file system, in which groups of computer files and other folders can be kept and organized.(more)


  1. import java.io.*;

  2. class c

  3. {

  4. public static void main(String arg[])

  5. {

  6. try

  7. {

  8. String strDir="E:\\Java\\Files/E:\\Java\\Files\\Exchange";

  9. boolean success=(new File(strDir)).mkdirs();

  10. }catch(Exception e){}

  11. }

  12. }

Loading...

Comments :

0 comments to “ Java Program To Create A Directory. ”

Top Views

BloggerTipsTemplates

CHICKLETS

Enter your email address:

Delivered by FeedBurner

Followers