Skip to content

Instantly share code, notes, and snippets.

@Baztoune
Created October 18, 2011 14:42
Show Gist options
  • Save Baztoune/1295599 to your computer and use it in GitHub Desktop.
Save Baztoune/1295599 to your computer and use it in GitHub Desktop.
Launch Talend job (.jar) with parameters
%~d0
cd %~dp0
@echo off
echo Parameter?
set /p my_parameter=
echo Parameter2?
set /p my_parameter2=
java -Xms256M -Xmx1024M -cp classpath.jar; The.path.my_job_0_1.my_job --context=Default --context_param my_parameter=%my_parameter% --context_param my_parameter2=%my_parameter2%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment