Hi Ashique,
Options for the batch executor are here:
Usage: The following options are available:
-nosave => do not save the workflow after execution has finished
-reset => reset workflow prior to execution
-failonloaderror => don't execute if there are errors during workflow loading
-updateLinks => update meta node links to latest version
-credential=name[;login[;password]] => for each credential enter credential
name and optional login/password, otherwise its prompted for
-masterkey[=...] => prompt for master password (used in e.g. database nodes),
if provided with argument, use argument instead of prompting
-preferences=... => path to the file containing eclipse/knime preferences,
-workflowFile=... => ZIP file with a ready-to-execute workflow in the root
of the ZIP
-workflowDir=... => directory with a ready-to-execute workflow
-destFile=... => ZIP file where the executed workflow should be written to
if omitted the workflow is only saved in place
-destDir=... => directory where the executed workflow is saved to
if omitted the workflow is only saved in place
-workflow.variable=name,value,type => define or overwrite workflow variable
'name' with value 'value' (possibly enclosed by quotes). The
'type' must be one of "String", "int" or "double".
Some KNIME settings can also be adjusted by Java properties;
they need to be provided as last option in the command line:
-vmargs -Dorg.knime.core.maxThreads=n => sets the maximum
number of threads used by KNIME
The following return codes are defined:
0 upon successful execution
2 if parameters are wrong or missing
3 when an error occurs during loading a workflow
4 if an error during execution occurred
You can try:
knime -consoleLog -reset -nosplash -noexit -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="X:\KnimeWorkspace\KNIME_project2"