 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
vguardiola
Joined: 31 Jul 2014 Posts: 2 Country: Honduras |
|
Number of files in a directory |
|
Hi guys,
Do you know if I can have the number of files of a particular directory using a file mask and some JAL command?
Regards!!
|
|
Thu Jul 31, 2014 6:31 pm |
|
 |
Dominik
Joined: 30 Jul 2007 Posts: 36
|
|
|
|
whitout testing it i guess, you can use a loop FindfileFirst/Next to count the files with mask- for instance *.txt
|
|
Wed Aug 06, 2014 5:22 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
If files are non-empty, you can likely use FileSearchEx method winch returns number of files containing the specified search string. The search string could be very simple so it can be found in all files, for example a space character.
|
|
Wed Aug 06, 2014 8:15 am |
|
 |
vguardiola
Joined: 31 Jul 2014 Posts: 2 Country: Honduras |
|
|
|
Thank you very much guys, both solutions works for me!!
|
|
Wed Aug 13, 2014 10:32 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|