public class TestRunTime {
public static void main(String []args){
//我的Q装在D盘
String str="D:\\Program Files\\Tencent\\QQ\\Bin\\QQ.exe";
try {
Process p=Runtime.getRuntime().exec(str);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
如果不信就试下!
| 广告合作:400-664-0084 全国热线:400-664-0084 Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号 珠峰网 版权所有 All Rights Reserved
|