2008-08-21 12 views

Répondre

1

System.IO.File.Copy

2

Utilisez la classe FileInfo.

FileInfo fi = new FileInfo("a.txt"); 
fi.CopyTo("b.txt"); 
14

Sans code de gestion d'erreur:

File.Copy(path, path2); 
Questions connexes