2012-09-04 Exists使用方法 890 0 摘要:Exists使用方法 if (!File.Exists(@"D:\test\" + user.ID))//查詢檔案是否存在 if (!Directory.Exists(@"D:\test2")) //查詢檔案夾是否存在 Directory.CreateDirectory(@"D:\test2"); //建立資料夾 回首頁