بسم الله الرحمن الرحيم
الكود يقوم بجفظ مجلد من مسار البرنامج الى مكان يتم تحديده ب FolderBrowserDialog
ما الخطأ في هذا الكوذ بارك الله فيكم
Try
Dim PathMourfaqat As String = FBDialogSaveFile.SelectedPath & "\Morfaqat\"
If My.Computer.FileSystem.DirectoryExists(PathMourfaqat) = False Then
My.Computer.FileSystem.CreateDirectory(PathMourfaqat)
My.Computer.FileSystem.CopyDirectory(Application.StartupPath & "\Morfaqat\", FBDialogSaveFile.SelectedPath & "\Morfaqat\")
MsgBox("تم استنساخ المجلدات")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try