copy a file in use

Discussion in 'AutoCAD' started by jackie, Jan 20, 2004.

  1. jackie

    jackie Guest

    I am having difficulty copying a file in use. What's the workaround?Error
    messge is "permission denied."

    FileCopy "C:\file1", "C:\file2"

    thanks
     
    jackie, Jan 20, 2004
    #1
  2. jackie

    developer Guest

    FileCopy will not work on an open file. I work around it by shelling out and copying using an operating system command. You might also look into using a Windows API function to do this.
     
    developer, Jan 20, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.