am not able to copy the files using the below code..it says path not found. error 76
my folder path doesn't hav spaces....i dont know y its not working
Private Sub cmdcopy_Click()
Dim a As String
Dim d As String
If Dir.Path = Dir1.Path Then
MsgBox ("Choose a different destination path")
GoTo 100
Else
GoTo 10
End If
10:
d = Dir1.Path & "\" ====> 'd:\text\net\'
i = 0
Do While file1.ListCount - 1
a = Dir.Path & "\" & file1.List(i) ====> 'd:\text\ab.i01'
FileCopy a, d
Loop
100:
End Sub
please respond soon..












