how can i make DOS system calls in Java ?

Status
Not open for further replies.

ch405

Right off the assembly line
hello der ,
I need to know how i can make DOS system calls like "dir" or even "cls" , "ipconfig" from inside a Java program........................ i need to know the packages i need to import ................... ne Java xperts out der ..... pls help ......................


.... not so xperienced Java programmer
 

siriusb

Cyborg Agent
Use the process class. This website has the full code:
*www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
 

parthbarot

In the zone
i m java dev.
we can make all comands in java but using java code..
here it is using the runtime...directly...no need for more code...
grt link man...grt stuff there.
thanks.
 
Status
Not open for further replies.
Top Bottom