制作/ 刪除 目錄:
if (!System.IO.Directory.Exists("檔案路徑"))
System.IO.Directory.CreateDirectory("檔案路徑");
拷貝/ 刪除檔案:
System.IO.File.Delete("檔案路徑");
File.Copy(path, path2);
全站熱搜
制作/ 刪除 目錄:
if (!System.IO.Directory.Exists("檔案路徑"))
System.IO.Directory.CreateDirectory("檔案路徑");
拷貝/ 刪除檔案:
System.IO.File.Delete("檔案路徑");
File.Copy(path, path2);