靠,漏打了个斜杠,这贴你们最好装没看见,不然我以后不来了
顺便问一下
我要123.exe运行后,别人是看不见的,那要加些什么上去?

解决方案 »

  1.   

    void jButton5_actionPerformed(ActionEvent e) {    String path = "e:\\123.exe";
        try {
              Process p=Runtime.getRuntime().exec(path);
              InputStream err=p.getErrorStream();//程序错误输出
              InputStream in=p.getInputStream();//程序输出
              OutputStream out=p.getErrorStream();//程序输入
      }
      catch (IOException ex) {
      }
    }