如何调用其他程序,比如说"notepad.exe",在线等待,急! Runtime.getRuntime.exec("notepad.exe"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 try {File file=new File (filedialog_load.getDirectory (),filedialog_load.getFile ()); Runtime ce=Runtime.getRuntime (); ce.exec (file.toString ()); } catch(FileNotFoundException e1){} catch(IOException e2){}/*---------------------try{ Runtime rt=Runtime.getRuntime(); rt.exec("IEXPLORE g:\\packages.html"); } catch(Exception e) { e.printStackTrace(); }*/ http://www.csdn.net/expert/topic/795/795315.xml?temp=.2226221数据库同步的巨难问题,谁解决了100分奉送,我还管他叫阿爹!! 如果我要用NOTEPAD打开 c:\\tem.txt我又该怎么办? HttpClient的问题 如何判断一个url指向的是一个目录? 访问权限问题:default的类中可以定义public的方法,这样有何意义?在不能引用此类的地方又用不了它的public方法。 请问有南京的朋友吗? 讨论一下多态性 如何将代表UTF-8的字符串转换为汉字? java怎么学 粉嫩新人求牛人解惑啊 请教一个打印问题?请各位帮助! 请问:我想学 JAVA 选那本书?谢谢! 请问截取输入并加密问题? 关于日期计算????
{File file=new File (filedialog_load.getDirectory (),filedialog_load.getFile ());
Runtime ce=Runtime.getRuntime ();
ce.exec (file.toString ());
}
catch(FileNotFoundException e1){}
catch(IOException e2){}
/*---------------------
try{
Runtime rt=Runtime.getRuntime();
rt.exec("IEXPLORE g:\\packages.html");
}
catch(Exception e)
{
e.printStackTrace();
}*/
http://www.csdn.net/expert/topic/795/795315.xml?temp=.2226221
数据库同步的巨难问题,谁解决了100分奉送,我还管他叫阿爹!!
我又该怎么办?