日期:2014-05-20 浏览次数:21251 次
public static void main(String[] args) {
try {
Process p = Runtime.getRuntime().exec("cmd.exe /c md C:\\test1");
while(p.getInputStream().read()!=-1);
} catch (IOException e) {
e.printStackTrace();
}
}