cd %~dp0

set ARCHIVER=%CONFDIR%\Components\archiver.xml
set JOBSCHEDULER=%CONFDIR%\Components\jobscheduler.xml

openit_dcmlban.exe -i "archiver.source.xml" -o "%ARCHIVER%" -a append -x "queues" -y "archiver.job-queue" --save
openit_dcmlban.exe -i "jobscheduler.source.xml" -o "%JOBSCHEDULER%" -a append -x "queues" -y "jobscheduler" --save
openit_dcmlban.exe -i "jobscheduler.source.xml" -o "%JOBSCHEDULER%" -a append -x "max-cores" -y "jobscheduler" --save

cd %ROOTDIR%