try
              {String[] cmd = {"Notepad.exe","通讯录.txt"};
               Runtime.getRuntime().exec(cmd);
              }
            catch (IOException ee){}
http://www.csdn.net/expert/topic/742/742161.xml?temp=.7941553

解决方案 »

  1.   

    of course!!!Process p=Runtime.getRuntime().exec(???);
      

  2.   

    按照以下方式,记住用双斜杠,我的msimn就是一个exe文件
    Runtime.getRuntime().exec("d:\\Program Files\\Outlook Express\\msimn");
      

  3.   

    Runtime.getRuntime().exec(cmd);
    其中cmd是字符串  写上你要执行的命令
      

  4.   

    import java.lang.*;//包头必须要带try{
    Runtime rt=Runtime.getRuntime();//创建运行对象
    rt.exec("NotePad.exe");//调用记事本可执行文件
    }
    catch(Exception e)
    {
    }