views:

12

answers:

0

I have a file runContractExports.xml which is as below

I set two parameters region and Env beforing executing this file.

Now I have a commandfile where i am using the above file for execution

The content of the command file is


@echo off set PWDDIR=%~dp0 cd %PWDDIR%

call eniron.bat

set CLASSPATH=%PWDDIR%;%CLASSPATH% set service=%1 set file=%2

pushd %MDMDIR%\bin

echo ""

"%JAVA_HOME%\bin\java" com.i2.xcore.net.Poster %XSERVER_URL% %file%

popd

:exit


Now to the above file I need to pass 2 more params say region as %3 and Env as %4 the %file is runContractExports.xml %service is a variable again.

How do i set the Region and ENv in the batch file so that I can use them during execution. i.e. the Parans are set in the runContractExports.xml and then the Script is executed