制作/ 刪除 目錄:
 if (!System.IO.Directory.Exists("檔案路徑"))
        System.IO.Directory.CreateDirectory("檔案路徑");


拷貝/ 刪除檔案:

System.IO.File.Delete("檔案路徑");

File.Copy(path, path2);

arrow
arrow
    全站熱搜

    createps 發表在 痞客邦 留言(0) 人氣()