Note that mkdirs can create a complete directory hierarchy in one step.
Joined: Sep 11, 2006
Hi , I have already written some logic so that the file can be created with the directory by using mkdir() ..But I want to know if there is any other API that can create the file and directory by passing the full path name and the file name. Been googling it but didn't find any ..
Joined: Mar 22, 2005
Well, you already said in your first post that you were looking for something else, but you didn't say why. As long as we don't know why File.mkdir(s) doesn't meet your requirements, it's hard to give any advice.