Hi my dear friends
How can i create a flow to compute how many files there are in special folder and save it in global variable?
Thanks...
Number of file in a folder
Moderator: Martin
Re: Number of file in a folder
Hi,
Following actions should work:
-action Init Variable File List: /sdcard/folder/* to list all files in variable 'files'
-action Script: global_file_count = length(files) to count the number of files and store the result in the global variable
Regards,
Martin
Following actions should work:
-action Init Variable File List: /sdcard/folder/* to list all files in variable 'files'
-action Script: global_file_count = length(files) to count the number of files and store the result in the global variable
Regards,
Martin
Re: Number of file in a folder
thanks Martin!!!!!!!!!!!!!!!!