april
Jan 23rd, 2000, 02:29 PM
please help. i just want to copy one file from path a to path b but i'm getting this error:
filecopy runtime error
path/file access error
this comes up after(?) the filecopy command is executed. funny thing though, because the file is copied to path b. here's the code:
IMPS_DIR1 = "E:SMART\INCOMING\BLINK\IMPS.DAT"
IMPS_DIR2 = "F:\POLLING\INBOX\IMPS.DAT"
.
.
.
MsgBox "IMPS_DIR1: " + IMPS_DIR1 + Chr(13) +_
"IMPS_DIR2: " + IMPS_DIR2
FileCopy IMPS_DIR1, IMPS_DIR2
MsgBox "IMPS file " + IMPS_filename + " was transferred successfully.", , "IMPS file"
i don't get any errors when i change the paths to my c: drive.
HELP!!
filecopy runtime error
path/file access error
this comes up after(?) the filecopy command is executed. funny thing though, because the file is copied to path b. here's the code:
IMPS_DIR1 = "E:SMART\INCOMING\BLINK\IMPS.DAT"
IMPS_DIR2 = "F:\POLLING\INBOX\IMPS.DAT"
.
.
.
MsgBox "IMPS_DIR1: " + IMPS_DIR1 + Chr(13) +_
"IMPS_DIR2: " + IMPS_DIR2
FileCopy IMPS_DIR1, IMPS_DIR2
MsgBox "IMPS file " + IMPS_filename + " was transferred successfully.", , "IMPS file"
i don't get any errors when i change the paths to my c: drive.
HELP!!