This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.