aspose file tools*
The moose likes Beginning Java and the fly likes How to create a directory using File class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to create a directory using File class?" Watch "How to create a directory using File class?" New topic
Author

How to create a directory using File class?

Jess Ishasder
Greenhorn

Joined: Feb 19, 2002
Posts: 21
I would like to create a directory, and store newly created files in it.
How can I do that?
I only know how to create a file
Thank you for your help!
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Check the JDK API documentation on File, I believe something there might be able to help.
(At least if I recall right)


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Gabrielle Pieck
Greenhorn

Joined: Feb 20, 2002
Posts: 3
Have a look in Class File, method mkdir.
Good luck,
Gabrielle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a directory using File class?