How to use Runtime.getRuntime().exec() ?
Posted on 2001-06-21
I have a big problem. I want to send a .zip to one of my server and what to unzip as soon as it lands up.
How can use my underlying operatring sytem which is Unix commands and NT server commands together.
I want to reach my HOME in unix /usr/app/dev so that my next command which connects to the NT server can read the login info from the .netsrc.
Thus can anyone tell me how to execute two commans simentaneulsy using the Runtime class. An example will be great help.
Thanx in advance.