Skip to main content
Solved

Specifying multiple filenames as a source parameter in a Workspace Runner

  • April 5, 2016
  • 1 reply
  • 64 views

ebygomm
Influencer
Forum|alt.badge.img+46

I currently have a workspace that determines a file location, and then a workspace runner uses this as the source parameter for the 'child' workspace.

If I run the child workbench in isolation, I can specify multiple file locations and both source files are read.

e.g.

"D:\\Folder1\\File1.gz","D:\\Folder2\\File2.gz"

But if I try to use this as a parameter for the workspace runner, no output is read.

Is there a different syntax I should be using within the workspace runner?

Best answer by takashi

Hi @egomm, try this syntax - separate the quoted paths with whitespace and surround the entire string with double quotations.

""D:\Folder1\File1.gz" "D:\Folder2\File2.gz""

See also here: Use an attribute containing a list of files as FeatureReader Input Dataset

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

takashi
Celebrity
  • Best Answer
  • April 5, 2016

Hi @egomm, try this syntax - separate the quoted paths with whitespace and surround the entire string with double quotations.

""D:\Folder1\File1.gz" "D:\Folder2\File2.gz""

See also here: Use an attribute containing a list of files as FeatureReader Input Dataset