Calling java programs from a batch file......

May i know how to call a java program from a batch file and also to pass arguments to it. The batch file is scheduled to run at a particular time, when it executes it must call the java program and must pass the arguments to it....
[238 byte] By [santy.buntya] at [2007-10-3 1:51:40]
# 1
E.g. a batch file "MyProg.bat":java -cp MyJavaProg.jar Main %1 %2Then call the batch:MyProg param1 param2
gilroittoa at 2007-7-14 18:50:07 > top of Java-index,Desktop,Runtime Environment...