Robocopy RRS feed

  • Question

  • Hello,

    I can´t figure out how to copy only files (xlsx) files to destination. Content of folder is ok.Here is my script fo folder backup:

    robocopy c:\common\Logistika\ \\ithelp\transfer\MN\ /MIR /W:0 /R:1 /XJ >> c:\common\backup.log

    This works great.

    Now I want backup only 3 xlsx files from folder Logistika above. Itry this script:

    C:\>robocopy "c:\common\Logistika\S1,S3 Vorschau.xlsx" \\ithelp\transfer\MN\S1,S3 Vorschau.xlsx /MIR /W:0 /R:1 /XJ

    And then I get this error:

       ROBOCOPY     ::     Robust File Copy for Windows
      Started : středa 24. října 2018 6:19:34
       Source : c:\common\Logistika\S1,S3 Vorschau.xlsx\
         Dest : \\ithelp\transfer\MN\S1,S3\
        Files : Vorschau.xlsx
      Options : /S /E /DCOPY:DA /COPY:DAT /PURGE /MIR /XJ /R:1 /W:0
    2018/10/24 06:19:34 ERROR 123 (0x0000007B) Accessing Source Directory c:\common\Logistika\S1,S3 Vorschau.xlsx\
    file name or directory or volume label is incorrect.

    Can anyone help where I make error.

    Thank you.

    • Moved by Bill_Stewart Thursday, December 20, 2018 9:56 PM This is not robocopy support forum
    Wednesday, October 24, 2018 4:23 AM

All replies

  • This is not a RoboCopy forum.  Post your issues in the Windows General forum for help with system utilities.

    This is a scripting forum.


    Wednesday, October 24, 2018 4:44 AM
  • Sorry. I am for first time on this forum.
    Wednesday, October 24, 2018 5:38 AM