| Author |
diference between mkdirs and mkdirs?
|
Mauricio Archbold Babroza
Greenhorn
Joined: Apr 01, 2009
Posts: 11
|
|
what is the diference between make directories, with mkdir and mkdirs???
thanks....
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56173
|
|
|
It's all explained in the javadoc for java.io.File.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bitzu Ma
Greenhorn
Joined: Feb 18, 2010
Posts: 6
|
|
Say you have this:
File f = new File("./folder1/folder2");
f.mkdir() will create only folder2 and only if folder1 already exists on the specified path
f.mkdirs() will create the entire path: if folder1 doesn't exist it will create it and the it will create the subfolder folder2
|
 |
Mauricio Archbold Babroza
Greenhorn
Joined: Apr 01, 2009
Posts: 11
|
|
|
thanks
|
 |
sumit kothalikar
Ranch Hand
Joined: Apr 15, 2010
Posts: 91
|
|
Hi
Mauricio ,
If you got the solution of your post here.
Please mark your post as
resolved
|
Thanks & Regards
Sumit Kothalikar
|
 |
 |
|
|
subject: diference between mkdirs and mkdirs?
|
|
|