Manish Ramrakhiani wrote:Hello All,
I have the following problem with Runtime.exec().
Now, my requirement is :
Inside RunFile.cmd I want to execute another file whose path is given by user.
So I need to pass an argument of the path of file selected by user to this RunFile.cmd.
Please help how can i achieve this.
Thanks,
Manish Ramrakhiani
Something like this (assuming that this is in main)