make an array of String and pass it to exec() for e.g
i want to use Net Send command from java:
String params={"NET","SEND","COMPUTER/USER ID","Your Message"};
Process p=Runtime.getRuntime().exec(params);
can you plz send me the code how you have invoked the shell script on my email:
maknojia@gem.net.pk