Knowledge Base

Article ID: 1073 - Last Modified:

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.

Keywords: KNIME

Back to Search Results

Was this information helpful?

What can we do to improve this information?


To ask a question or get help, please submit a support ticket or email us at help@schrodinger.com.
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles