This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm trying to build a workflow that will run a command similar to the one I've specified below, except with 3 parameters that come from the Text Input tool. (Eventually I'd like to be able to run this command multiple times in a loop but where the parameters change)
Here's the command I'm able to run in the Windows Command Prompt (dmsrun is a separate software package we use):
This would allow you to pass a list of parameter into the run command tool and execute the command for each of these until you reach the end of the list. See the below.
When saved this will turn into a standalone "tool" which will be able to accept the list of values through the Control (Dynamic) parameter - think of these as a trap door through which you can drip-feed the parameters into another workflow.
It must be a problem in the Configuration Window for the "Run Command" Tool, as it is tricky to setup. So have attached a workflow with it setup to Run your Command.
When it works correctly you should see 1 file written as your BAT file, and 1 file read from your Output.txt file. They are both created in the Temporary directory, so once the workflow has finished they will be deleted. Tip on the Results window, right click to open the Temporary Folder, so then you can view the files.