Hi,
This is the first time I heard of the FileSystemObject. Of course I have to know how to use it. And of course... it doesn't work for me.
I want to copy a file from the hard disk to a folder. this is the code I used (just testing)
I'm getting a compile error. Someone knows what I'm doing wrong? If someone knows where to find some simpel examples, please place them.
This is the first time I heard of the FileSystemObject. Of course I have to know how to use it. And of course... it doesn't work for me.
I want to copy a file from the hard disk to a folder. this is the code I used (just testing)
Code:
Private Sub Command1_Click()
Dim FSO As New FileSystemObject
Dim f As File
Set f = FSO.CopyFile("C:\test.txt, "C:\TEST", True)
End Sub