Java_打开外部应用程序



Java_打开外部应用程序

1、 先把程序的exe 文件的路径加入 Path
或写全外部运行程序路径

2、 Process proc = Runtime.getRuntime().exec(“QQ.exe”);
Process proc = Runtime.getRuntime().exec(“D:/soft/QQ/Bin/QQ.exe”); //copy 路径
import java.io.*;
throws IOException

http://chenshaoao.blog.163.com/blog/#m=0&t=1&c=fks_087066093081086066085080087095093087080065092087087067