This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to Create a directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to Create a directory " Watch "how to Create a directory " New topic
Author

how to Create a directory

Ramesh R G V S
Greenhorn

Joined: Apr 20, 2002
Posts: 18
Hi All
I want to create a directory through java.is there any way to do this???

Ramesh
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Look at the java.io.File class. Methods mkdir/mkdirs.
-Barry
BTW did you solve your StringTokenizer problem?
[ December 28, 2002: Message edited by: Barry Gaunt ]
[ December 28, 2002: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to Create a directory
 
Similar Threads
Writing to folders outside of a WAR file
creation of new directory inside an exisiting directory
Exmulator mock exam question 36
compilation error by prompt
new directories in webapps