none
Robocopy questions RRS feed

  • Question

  •  I have been using this to copy folders from one server to another server

     

    robocopy \\servera\Project\musebassa \\serverb\temp\ /copyall /e /log+:servera.log /Tee /r:3 /NP

     

    But if the source folder has space b/n the names (musse bassa) the robocopy errors out

     

    robocopy \\servera\Project\muse bassa \\serverb\temp\ /copyall /e /log+:servera.log /Tee /r:3 /NP

     

    How do I solve this?   

     

    Once I copied the above folders/subfolders how I turn this robocopy into just copying the updated files between the above resource and destination files

     

     

    I appreciate any help

     

    Thanks.

    • Moved by Reed KimbleMVP Thursday, November 4, 2010 7:22 PM Not a VB question (From:Visual Basic Language)
    Thursday, November 4, 2010 3:38 PM

Answers


  • This does not really seem like a question for this forum, which is for vb.net programming language questions.
     
    Since I'm not sure where to direct you, you should probably try surrounding filenames or paths containing spaces with double quotes, such as "c:\folder with a space\filename.txt".
    --
    Mike
    • Marked as answer by Reed KimbleMVP Thursday, November 4, 2010 7:21 PM
    Thursday, November 4, 2010 4:54 PM