SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Number of files in a directory

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Number of files in a directory
Author Message
vguardiola



Joined: 31 Jul 2014
Posts: 2
Country: Honduras

Post Number of files in a directory Reply with quote
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 View user's profile Send private message
Dominik



Joined: 30 Jul 2007
Posts: 36

Post Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7840

Post Reply with quote
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 View user's profile Send private message
vguardiola



Joined: 31 Jul 2014
Posts: 2
Country: Honduras

Post Reply with quote
Thank you very much guys, both solutions works for me!!
Wed Aug 13, 2014 10:32 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.