The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

re:ling other programs from Java

Posted by selvaraj on May 31, 2001 at 7:31 AM

i don't have good idea in java.In dos, u can use following code to execute some other programs like notpad,wordpad,calulator,other exe file.

Runtime r=getRuntime();
Proccess p=r.exec("executalble file");






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us