I need to get a list of file names from various directories that will be determined by the workflow. The Directory tool does not allow for input so I can't use that. Is there another way to do this?
P.S. In my environment,, batch files are not allowed.
@ppatane You can use *.<file format> or <keyword>*.<file format> in Input tool
@nagakavyasri That still does not allow for input from the workflow
@ppatane You can neither use Directory tool nor Input tool?
No, the workflow will produce the directory path to pull from: it might be e:\tech\abc one time and then e:\tech2\xyz the next time. Whatever tool I use needs to have an input port.
@ppatane Then may be Blob Input or Dynamic Input tool may help. You can union all the paths from Directory before these input tools. Run command may also be helpful.
what do you mean by allow for input?
use a directory tool in a batch macro or an app -> dynamically change the directory via control parmeter/action tool or folder browse/text box -> action tool.
there are pretty much 4 ways to list directory content:
directory tool,
run command (.bat file)
python
R
all could allow for input -> all could not - depending upon how they are structured. the "normal" way to 'allow for input' is to use a macro