none
Backup files 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. Maybe I only forget some parameter.

    Thank you.

    Wednesday, October 24, 2018 5:43 AM

Answers

All replies