i am supposed to call an external application


I am supposed to call an external application (which is command-line based) and send input to the application from java. I created a batch file to call the application. It successfully opens up one command prompt to cd to the directory of where the application resides. Afterwards it opens up another command prompt to execute the application. How do I send input to the second command prompt? Do I create another batch file or do I use OutputStream (I have tried but it doesnt work)

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: i am supposed to call an external application
Reference No:- TGS0422969

Expected delivery within 24 Hours