Hi,
I want to pass a argument to a batch file using Runtime.exec() method.
I am using below code to execute batch file:
I placed "create.bat" under "C:\\apache-james-3.0-beta4\\bin".
In "create.bat" I have:
james-cli -h localhost -p 9999 adduser %1 Welcome123!
Please help me to pass argument using above.
Thanks,
Shareef