Re: ¿how can i call an executable from a java program?
Posted By:
Rachna_Ringe
Posted On:
Tuesday, May 22, 2001 09:10 PM
u can call an .exe from a java program thru exec() method of the Runtime class.
For example:
Runtime.getRuntime().exec ("winword "+aFile);
This command will open the MS Word and open aFile.doc in it. i.e. it will execute winword.exe.
Rachna