Private Sub Command0_Click()
Dim SourceFile, DestinationFile As String
SourceFile = "D:\学生管理系统" 我在d盘里建立了一个学生系统的文件夹
DestinationFile = "E:\" 我希望能将D:\学生管理系统里的所有文件复制到e盘。
FileCopy SourceFile, DestinationFile
End Sub
Private Sub Command0_Click()
Dim SourceFile, DestinationFile As String
SourceFile = "D:\学生管理系统\FileName.mdb"
DestinationFile = "E:\BackFileName.mdb"
FileCopy SourceFile, DestinationFile
End Sub