Arguments in batch files are passed on the command-line.
Inside the batch, you use %1, %2, %3, etc. to receive each argument.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
So, in this example, some values are passed by %1 and %2, etc. and some are SET through environment variables.
If this is called Run.bat, you would (at the command-line) type:
Run Bethuel "Monthly Employee" 22000d
...but inside the batch file, the call the program would be
java -classpath %RUN_CLASSPATH% %CLASS_TO_RUN% %1 %2 %3
The %ARGUMENTS% variable is redundant depending on how you want to use them.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402