Calling a Batch File Using Knime


I have a batch file which I need to execute using knime. I tried using the External tool node. Even though my batch doesn’t need any input file the node requires an input file so I have given some random input file but when I execute the node it throws an error saying execution failed.

Can anyone help me with this? Am I using the correct node? or Is there any other node available to execute the batch files?

Maybe you could use python script node instead

import subprocess["path/to/the/batch_file", arg1, arg2, …])


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.