Robocopy Error

Discussion in 'Windows Vista General Discussion' started by butter, May 13, 2008.

  1. butter

    butter Guest

    I keep receiving the following error:

    2008/05/12 15:19:27 ERROR 6 (0x00000006) Copying File
    The handle is invalid.

    Anybody have any ideas? Robocopy also skips open files. Is there anyway to
    avoid this?
    butter, May 13, 2008
    1. Advertisements

  2. Mark L. Ferguson, May 13, 2008
    1. Advertisements

  3. butter

    butter Guest

    I am using the following options:

    /COPYALL /B /SEC /MIR /R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL

    Should I just add /b or /zb to these options?
    butter, May 14, 2008
  4. butter

    butter Guest

    Here is the batch file I am running:

    rem @ECHO OFF

    SET _source=\\servname\sharename

    SET _dest=\\servername\bacckup\sharename

    SET _what=/COPYALL /B /SEC /MIR
    :: /COPYALL :: COPY ALL file info
    :: /B :: copy files in Backup mode.
    :: /SEC :: copy files with SECurity
    :: /MIR :: MIRror a directory tree

    SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
    :: /R:n :: number of Retries
    :: /W:n :: Wait time between retries
    :: /LOG :: Output log file
    :: /NFL :: No file logging
    :: /NDL :: No dir logging

    Robocopy %_Source% %_dest% %_what% %_options%
    butter, May 14, 2008
  5. butter

    butter Guest

    Anybody have any ideas?

    butter, May 19, 2008
  6. butter


    Feb 6, 2009
    Likes Received:
    robocopy 0x00000006 error

    May have to run Robocopy with /COPY: DT instead of /COPYALL. It is getting hung up on the file attributes.

    Not a solution, I know.

    housewares, Feb 6, 2009
    1. Advertisements

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.