Article ID: 1073 - Last Modified: May 1, 2012
Can I run a KNIME workflow from the command line on Windows?
Yes. From Suite 2011 on, open a Schrodinger Command Prompt window from the Start menu. This is a DOS shell with the Schrödinger environment set up. Then enter the following command (assuming that the workflow is on your C drive):
installdir\knime.bat -consoleLog -noexit -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile=C:\path-to-workflow\workflow.zip
For earlier releases, you must open a SchrodingerShell, which you can do by navigating to the installation and double-clicking the SchrodingerShell icon. Then use the following command (assuming that the workflow is on your C drive):
installdir/knime.bat -consoleLog -noexit -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile=C:/path-to-workflow/workflow.zip
Note that the path is specified with forward slashes, because you are running in a Unix shell, not a DOS shell.
From Suite 2012, you can wrap KNIME workflows with a script and run them from the Maestro interface — see the KNIME Extensions User Manual for details.
Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles