Пример #1
0
 public static void Vesal_DirCopy(string scr_path, string des_path)
 {
     try
     {
         string[] files = Directory.GetFiles(scr_path);
         foreach (string fn in files)
         {
             string new_fn = fn.Replace("\\", "/");
             string name   = Vesal_DirFiles.get_file_name_from_full_path(new_fn);
             File.Copy(fn, des_path + "/" + name, true);
         }
     }
     catch
     {
     }
 }