Re: Do not create destination folder using ROBOCOPY

Discussion in 'Windows Server' started by Pegasus \(MVP\), Jan 20, 2009.

  1. What do you want robocopy to do when the destination folder does not exist?
    Pegasus \(MVP\), Jan 20, 2009
    1. Advertisements

  2. Make a cappuccino!
    Lanwench [MVP - Exchange], Jan 20, 2009
    1. Advertisements

  3. "Lanwench [MVP - Exchange]"
    I prefer an espresso!
    Seriously: The OP needs to put his server admin hat on and think through
    this scenario properly. I can think of several scenarios:
    - Abandon the job and send an alert.
    - Copy the files to the root of the drive.
    - Copy them to an alternative folder.
    - If the /s switch is specified, only deal with the folders that exist in
    the target.
    You can probably dream up a few more ways to skin this particular rabbit!
    Pegasus \(MVP\), Jan 20, 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.