12-26-2014, 09:00 AM
Sorry. Do not speak English.
Number of files in a foldername"Apple" by Create Folder"Apple"
Function Create_FileList
For example :
Folder name : Apple
Folder in a File: Three
thera.avi
fina.avi
fina.jpg
Result:
Apple
Apple
Apple
10 files in a folder
"Apple" name, folder 10 generated
Number of files in a foldername"Apple" by Create Folder"Apple"
Function Create_FileList
Dir F
str location FileNamePath
BrowseForFolder(&location "" 5)
FileNamePath.format("%s\*" location)
NameExcel.SelectCell("A1" row+1)
foreach(F FileNamePath FE_Dir 1|4)
,str FolderName=F.FileName
,,out FolderName
For example :
Folder name : Apple
Folder in a File: Three
thera.avi
fina.avi
fina.jpg
Result:
Apple
Apple
Apple
10 files in a folder
"Apple" name, folder 10 generated