1.

Solve : Help with DOS command?

Answer»
HI all,

Recently been assigned to understand some DOS command in order to enhance the batch files running in my company server.
Below is a string of commands which i seriously do not understand:

set APP_C=%1
set JOB_C=%2
JAVA -Xmx2M -Dant.home=ant -Dapp=%APP_C% -Djob=%JOB_C% -cp sny\lib\ant.jar;ant\lib\ant-launcher.jar;ant\lib\xml-apis.jar; ant\lib\xercesImpl.jar; org.APACHE.tools.ant.Main -buildfile RUN.xml %3

Erm, can I understand what does all these means? It seriously look greek to me. ='(Code: [Select]java -Xmx2M -Dant.home=ant -Dapp=%APP_C% -Djob=%JOB_C% -cp sny\lib\ant.jar;ant\lib\ant-launcher.jar;ant\lib\xml-apis.jar; ant\lib\xercesImpl.jar; org.apache.tools.ant.Main -buildfile run.xml %3
This starts the Java complier.

Seems to run Apache, which is a DATABASE prog.

Code: [Select]set APP_C=%1
set JOB_C=%2
This just sets "APP_C" to the first parameter, and sets "JOB_C" to the second parameter.

Since this is on your company server i suggest that you don't mess with it until you learn some more on this.

Hope this Helps
,Nick(macdad-)


Discussion

No Comment Found