I have searched alot found some similar questions and answers too on StackOverflow but nothing worked.
I'm creating an application in Java where I need to open command prompt and run series of lots of commands in that using Java code itself.
I am able to open the cmd.exe but how to run those commands inside the cmd using only Java Code.
Anyhelp would be appreciated :)