A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
How to create a directory using File class?
Joined: Feb 19, 2002
Mar 18, 2002 07:20:00
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!
Joined: Jun 13, 2000
Mar 18, 2002 08:20:00
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
Joined: Feb 20, 2002
Mar 18, 2002 08:24:00
Have a look in Class File, method mkdir.
I agree. Here's the link:
subject: How to create a directory using File class?
How to create an API HTML file
How to create Executable jar file.
subdirectorty in java using FILE I/O
How to create a thread?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014