Rank: Newbie
Joined: 10/19/2017 Posts: 9 Location: usa
|
Experts,
a)
Is it possible to provide multiple extensions in a single loop while processing a folder.
For example:
list-files('*.txt, *.log')
b) Can we create input job parameters and use it in list-files. If not, what are the alternatives.
example: IN_DIRECTORY = *.txt, *.log
and use it as a parameter to list-files
list-files('{IN_DIRECTORY}')
Thanks
myslad attached the following image(s):
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 558
|
If it doesn't work, then you could use list-files twice, then use the join function to join the two lists together.
|