Results 1 to 5 of 5

Thread: filecopy runtime error '75'

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    sydney, australia
    Posts
    3

    Post

    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!!

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    change:
    IMPS_DIR1 = "E:SMART\INCOMING\BLINK\IMPS.DAT"
    IMPS_DIR2 = "F:\POLLING\INBOX\IMPS.DAT"
    to:
    IMPS_DIR1 = "E:\SMART\INCOMING\BLINK\IMPS.DAT"
    IMPS_DIR2 = "F:\POLLING\INBOX\IMPS.DAT"

    you forgot the \ after E:
    simple enough


    ------------------
    DiGiTaIErRoR

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    sydney, australia
    Posts
    3

    Post

    Thanks but I've actually coded it correctly in my program with a '\' after the E: I just missed it when I typed it in here.

    Any more ideas?


  4. #4
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Post

    There are some possibilities.

    - You don't have the network rights to copy the file to that location.
    - The destination file already exists, and is marked read-only.
    - The destination file already exists, and is currently in use.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    sydney, australia
    Posts
    3

    Post

    definitely no access issues here because the program copies the file. the file does exist in the destination drive and it gets overwritten each time but if this is the problem how do i get rid of the error message?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width