A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to create a directory using File class?
How to create an API HTML file
subdirectorty in java using FILE I/O
How to create a thread?
How to create Executable jar file.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014