how to open command prompt from java code?
getRuntime();
returns a Runtime object.
but when i call it , the variable is not recognised.
and there are lot of errors .
sonia arora
Ranch Hand
Joined: Mar 10, 2010
Posts: 31
posted
0
Runtime.getRuntime().exec("cmd.exe");
this did not work for me.