Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java create file and parent directories

if(!Files.exists(Path.of([PATH])))
{
	File f = new File([PATH]);
	f.getParentFile().mkdirs();
}
 
PREVIOUS NEXT
Tagged: #java #create #file #parent #directories
ADD COMMENT
Topic
Name
8+7 =