I want to count all files in one directory which matches the following extensions (.bmp, .tif, .jpg).
Is it possible to pass a group of filetypes as an argument to countfiles?
What I want is to avoid looping 3 times to the directory in this case.
pass more than one argument to countfiles
Moderators: Dorian (MJT support), JRL
pass more than one argument to countfiles
regards
migro
migro
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: pass more than one argument to countfiles
No, sorry, you'd need to use CountFiles for each filetype and sum the results.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: pass more than one argument to countfiles
Hi Marcus!
Thanks for the reply. Thats what I'm doing in the moment.
Can you take: "Passing several filetypes/extension to countfiles" as an feature request for later/upcoming versions?
Thanks for the reply. Thats what I'm doing in the moment.
Can you take: "Passing several filetypes/extension to countfiles" as an feature request for later/upcoming versions?
regards
migro
migro