try
{String[] cmd = {"Notepad.exe","通讯录.txt"};
Runtime.getRuntime().exec(cmd);
}
catch (IOException ee){}
http://www.csdn.net/expert/topic/742/742161.xml?temp=.7941553
{String[] cmd = {"Notepad.exe","通讯录.txt"};
Runtime.getRuntime().exec(cmd);
}
catch (IOException ee){}
http://www.csdn.net/expert/topic/742/742161.xml?temp=.7941553
Runtime.getRuntime().exec("d:\\Program Files\\Outlook Express\\msimn");
其中cmd是字符串 写上你要执行的命令
Runtime rt=Runtime.getRuntime();//创建运行对象
rt.exec("NotePad.exe");//调用记事本可执行文件
}
catch(Exception e)
{
}