24-05-13, 01:48 AM
تمت الإجابة باستخدام الكود التالي
تقبلوا تحياتي
كود :
Dim PathFile As String = "C:\Folder1\test.txt"
Dim NameFile As String = System.IO.Path.GetFileName(PathFile)
Dim destFile As String = "C:\Folder2\" & NameFile
If Not Directory.Exists(PathFile) Then System.IO.File.Copy(PathFile, destFile)
{ اللهم علمنا ما ينفعنا وانفعنا بما علمتنا إنك أنت العليم الخبير }
