[Logo]
Forums Register Login
command prompt from java
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 .
Runtime.getRuntime().exec("cmd.exe");
this did not work for me.
Which operating system you are on?
windows xp.
Moved to our Beginning Java forum.
The question is not related to JDBC.

This thread has been viewed 1112 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 12:55:18.