將一個文件夾複製到另外一個地方

public static void copyFile(String srcname,String target) throws Exception{ File srcfile = new File(srcname); //將原文件目錄在目標文件夾下建立 File targfile = new File(target,srcfile.getName()); targfi
相關文章
相關標籤/搜索