Installing extensions via Windows Command Prompt

Hi Guys,

I’m trying to make a Windows batch file that will download and install some extensions. From the Server Admin Guide, I tried the code below:

cd C:\MyFolder\KNIME
echo Setting up KNIME extensions. Please wait…
call knime.exe -nosplash -consoleLog -application org.eclipse.equinox.p2.director^
-r ',,,’^
-d ‘C:/MyFolder/KNIME’
echo Done.

Yet it doesn’t seem to download from the repository.
There might be something wrong in the syntax.

I’m currently reading the p2_director guide. But if you have had the similar situation and solved it, please share.

Thanks! :smiley:

quick update: opening command prompt, navigating to the folder of knime.exe and manually executing:

knime –nosplash –consolelog -application org.eclipse.equinox.p2.director -r,,, -i, -d C:/MyFolder/KNIME

a new CMD window is opened and it executes and installs the extensions as expected… but when placing the command in a batch file, it doesn’t seem to execute (and the new window doesn’t open)… I may have missed some syntax when placing the command in a batch file…

hope this helps add clarity…

Try quoting the values of the -i and -d arguments. Also the following arguments might be useful:

-profile KNIMEProfile -profileProperties org.eclipse.update.install.features=true

although if it works without…!


1 Like

Hi there @codvknime,

just to check are you installing extensions for Analytics Platform or Server when you mentioning Server Admin Guide?


Hi @ipazin,

I’m just making a batch file to automate my local install of KNIME extensions… I’ve read the Server Admin Guide for the command syntax…

I’ve managed to make it work; I had a typo on the hyphen when entering my arguments… Windows command doesn’t recognize some forms of hyphens… :rofl:

And yes @s.roughley, it works without the quotes! :smiley:

I’ll post the batch file tomorrow, it’s on my other laptop… Hope it solves some similar problems. In the meantime, please don’t close this thread.



Hi @codvknime,

ok. I see. Nice one catching that :wink:

Don’t worry. Topic will be open. At least for another 6 months if you don’t mark reply as a solution :slight_smile:


Here’s the content of the batch file; Hope it helps similar issues on installing extensions using a batch file for Windows…

install_KNIME_extensions.txt (1.2 KB)

1 Like

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