Knime with windows prompt command

Hi @denisfi , I believe you’ll need either Java (or I guess Python should be able to do it too) or an extension to run a command file from KNIME.

I used the java approach in that component. I built that back when I first started using KNIME, based on an idea that @qqilihq had posted, as you can see here,

and it will do what you are asking without any other nodes installed, as demonstrated in the workflow example I posted.

There is at least one extension node that can run shell scripts too, which may work for you:

Possibly the “External Tools” node can also work for you

but it still requires you to have the command in a script. Did you try the demo workflow to see if it works for you?

I don’t know of any other “native” ways of executing a command script.

1 Like