形容发展迅速的句子:在jsp中用runtime备份出来的数据库文件为什么是o字节!????

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 21:19:35
程序如下
String path="mysqldump.exe -ustudent -pstudent student> d:/student.sql";
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("cmd /c "+path);
proc.waitFor();
能看到student.sql文件,但这人文件却是0字节,在运行里备份出来的可不是0字节啊。