Results 1 to 2 of 2
  1. #1
    duckduck is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    2

    CopyFolder

    So... I am still sort of a newbie in Access.. and I have been trying to copy a folder from one location to the next.... So far this is sort of what I got

    Dim FromPath As String 'Current Folder Location'
    Dim ToPath As String 'Destination Location'



    FromPath = C:/Documents and Settings/...../Folder1
    ToPath = C:/Documents and Settings/..../TestFolder

    FileCopy FromPath, ToPath 'Copy File'

    Now everytime I run the code I get an error that says "Run-time error '75': Path/File Access error"...
    I get the feeling I am using the function incorrectly... ?.. I am trying to move Folder1 into TestFolder
    ..
    Any ideas?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,623
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums