// 移动文件 "C:/Users/Haogang Chen/Desktop/Excel/E/hg.xls"
// 到 "C:/Users/Haogang Chen/Desktop/Excel/F/hg.xls"
String path0= "C:/Users/Haogang Chen/Desktop/Excel/E/hg.xls"
String path = "C:/Users/Haogang Chen/Desktop/Excel/F/";
File file = new File(path0);
//成功返回true
file.renameTo(new File(path + file.getName()));