I have to execute a abc.bat file in a perl script.
If I run the batch file manually it asks for first param at first step. When I provide this at second step it will ask for second param..
I need to call this abc.bat file in a perl script
Something like..
system(‘abc.bat’); or exec()
But how to provide param run time..
The abc.bat batch file is a calling a java myclass which takes two params at runtime.
Below is the batch file
@echo off
setlocal
set classpath=.\my.jar;%classpath%
"%JAVA_HOME%"\bin\java com.myclass
@echo on
Please help .. Thank you.