View Single Post
  #412  
Old 13.04.2018, 19:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,451
Default

@mgpai: no new method required.
Code:
PseudeoCode:
function getAllChildrend(path){
var ret=[];
var files=path.getChildren();
for (file:files){
if (file.isFile(){
ret.push(file);
}else{
ret.concat(getAllChildren(file));
}}
return ret;
}

var all=getAllChildren(startfolder);
__________________
JD-Dev & Server-Admin
Reply With Quote