admin 管理员组

文章数量: 1184232

Runtime run = Runtime.getRuntime();
Process pro = null;
try{
pro = run.exec("C:\\Program Files\\Tencent\\QQ\\QQProtect\\Bin\\QQProtect.exe");
}catch(Exception e){
e.printStackTrace();
}finally{
if(pro != null){
pro.destroy();
pro = null;//释放资源
}
}

本文标签: 调用 系统程序 编程