This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to Create a directory
 
Similar Threads
compilation error by prompt
new directories in webapps
Writing to folders outside of a WAR file
Exmulator mock exam question 36
creation of new directory inside an exisiting directory