Hello, is there any way by which we can execute an external file in the system whilst running the java program?
posted 13 years ago
Sure. If "PATH_TO_TARGET" is a String that is the path to the external application (ex: "C:\Files\Temp\Test.exe"), you can run it this way: Runtime.getRuntime().exec(PATH_TO_TARGET); [ June 26, 2002: Message edited by: Matt Senecal ]
There's nothing more dangerous than a resourceful idiot. ---Dilbert