@echo off set ant=opale_to_neo4j.ant set antparam=-DNode true; IF NOT EXIST ./node_modules call npm install ant -buildfile %ant% %antparam% pause REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%