Hello there I want to create the directories and sub directories with the java. My directory structure is starts from the current application directory, Means in current pro
You can create all parent directories by using File.mkdirs().
File.mkdirs() - Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories. Note that if this operation fails it may have succeeded in creating some of the necessary parent directories.