摘要: 1 import java.io.BufferedReader; 2 import java.io.InputStreamReader; 3 4 public class Test { 5 public static void main(String[] args) { 6 String command = "cmd /c dir \\windows"; 7 String result; 8 try { 9 Process process = Runtime.getRuntime().exec(command);10 BufferedRe... 阅读全文
posted @ 2014-04-11 14:21 麦克优雅 阅读(307) 评论(0) 推荐(0) 编辑