File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes invoke command prompt using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "invoke command prompt using java" Watch "invoke command prompt using java" New topic

invoke command prompt using java

srikanth arroju
Ranch Hand

Joined: Aug 02, 2006
Posts: 66
i have to invoke command prompt using java program.

at the command prompt it should appear as

Eric Daly
Ranch Hand

Joined: Jul 11, 2006
Posts: 143
try this out:

Studying for SCJP 6
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
That's what Runtime.exec and the ProcessBuilder class are for.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: invoke command prompt using java
Similar Threads
Down loading software
Compiler Not Found, Despite Installing JDK
Endless loop
Running Java Programs from the command prompt
invoking c exe from java