!--a11y-->
Example: Command Line Parameters 
This section specifies two scripts as examples, which use dc.bat to load (sync) a set of components from the DTR and build them. The examples are designed to illustrate how you can write your own scripts to automate the central component build.
In these examples, we assume that %JAVA_HOME% already points to a JDK installation:
set SAPDEVSTUDIOHOME=C:\Program Files\SAP\JDT\eclipse
set CONFIG=-f "C:\Documents and Settings\john\.dtc\TestConfig1"
set SYNCPARAMS= -c sync %CONFIG% -u john -p %1 -d ERROR
call dc %SYNCPARAMS% -s sap.com_SC1 -v sap.com -n dc1
call dc %SYNCPARAMS% -s sap.com_SC1 -v sap.com -n dc2
call dc %SYNCPARAMS% -s sap.com_SC2 -v sap.com -n dc3
This example calls dc.bat several times to sync three DCs dc1,dc2 and dc3. The script is called with the DTR password as the first parameter.

Assuming that the script is called sync.cmd, the call would be:
sync dtrpassword 2> trace.txt
set SAPDEVSTUDIOHOME=C:\Program Files\SAP\JDT\eclipse
set BUILDPARAMS= -c build -d ERROR -f "C:\Documents and Settings\john\.dtc\TestConfig1"
call dc %BUILDPARAMS% -s sap.com_SC1 -v sap.com -n dc1
call dc %BUILDPARAMS% -s sap.com_SC1 -v sap.com -n dc2
call dc %BUILDPARAMS% -s sap.com_SC2 -v sap.com -n dc3
This example calls dc.bat several times to build three DCs dc1,dc2 and dc3.

Assuming that the script is called build.cmd, the call would be:
build 2> trace.txt.
