What We Are Learn On This Post
How to Execute EXE Files In Java Example Program?
Check Also: How to Use Scanner Class?
package com.java.interviewFAQ; import java.io.IOException; public class RunExeFiles { public static void main(String[] args) throws IOException { Runtime.getRuntime().exec("C:\\Windows\\notepad.exe"); } }
Leave a Reply