Hi,
I'm using the following line of code to copy a file from one drive to another:
fso.copyFile fileToCopy, "C:\Test"
I keep getting a 'Run-time error 70: Permission denied' error. I have tried to manually copy and paste the files, and it works fine. I have full read/write access to both of the file locations. Also, none of the files are currently being accessed by another application. The location of the fileToCopy is on a USB drive and C:\Test is my local hard drive.
Any ideas??
I'm using the following line of code to copy a file from one drive to another:
fso.copyFile fileToCopy, "C:\Test"
I keep getting a 'Run-time error 70: Permission denied' error. I have tried to manually copy and paste the files, and it works fine. I have full read/write access to both of the file locations. Also, none of the files are currently being accessed by another application. The location of the fileToCopy is on a USB drive and C:\Test is my local hard drive.
Any ideas??