Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create Folder name
#1
Sorry. Do not speak English.
Number of files in a foldername"Apple" by Create Folder"Apple"

Function Create_FileList
Code:
Copy      Help
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
#2
Could you explain more, I still don't understand what you need?


Forum Jump:


Users browsing this thread: 2 Guest(s)