public String runCommand(String cmdExp){
InputStream[] tmpstm=new InputStream[2];
String[] Info=new String[2];
InputStreamReader isr=null;
BufferedReader br=null;
String okInfo="";
String errInfo="";
try {
//String osName =System.getProperty("os.name");
//System.out.println("osName:"+osName);
String[] cmd=new String[3];
cmd[0]="cmd.exe";
cmd[1]="/C";
cmd[2]=cmdExp;
//System.out.println("正在执行的是: "+cmd[0]+" "+cmd[1]+" "+cmd[2]);
Runtime rt=Runtime.getRuntime();
Process proc=rt.exec(cmd);
// any error message
//gobbler errgobbler=new gobbler(proc,proc.getErrorStream(),"error");
tmpstm[0]=proc.getInputSt