how can i execute a .exe file with the help of my own java program
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shahzad_Aslam
Posted On:   Tuesday, July 24, 2007 08:31 AM

i want to execute an other file which is already saved in my hard disk and it have the extension .exe i want that when my java program starts its execution the other file which is already in my hard disk also starts its execution so my question is that how can i do it ??

Re: how can i execute a .exe file with the help of my own java program

Posted By:   Anonymous  
Posted On:   Tuesday, July 24, 2007 08:44 AM

Hi aslam,
use java.lang.Runtime.exec() to execute a external executable file...
Regards,
Krishna Rajendra A.
About | Sitemap | Contact