Robocopy exclude


  1. Posts : 277
    windows 10
       #1

    Robocopy exclude


    Hello everyone,

    How do I exclude System Volume Information in Robocopy Windows 10?

    I tried XD\ "System Volume Information" "$Recycle.bin"

    System Volume Information doesn't work. Recycle.bin does.

    Don Cole
      My Computer


  2. Posts : 524
    Windows 11 Pro x64, Windows 10 Pro x64
       #2

    doncole said:
    I tried XD\ "System Volume Information" "$Recycle.bin"

    Don Cole
    Is this a typo?

    Command should be /XD

    Also use the full path C:\System volume Information
      My Computers


  3. Posts : 277
    windows 10
    Thread Starter
       #3

    Thank you pdcopter,

    For your reply.:)

    I tried /XD and I get invalid parameter.


    In my case I'm copying a bunch of folder and files from E:\ to F:\.
    The error comes up on "F:\System Volume Information".
    I tried XD\ "F:\System Volume Information"
    It still didn't work.

    What I don't get is how come "$Recycle.bin" is working (without the "F:") but not "System Volume Information".

    Don Cole
      My Computer


  4. Posts : 486
    Windows 10x64 17713
       #4

    Code:
    /xd $RECYCLE.BIN "System Volume Information"
    That's what I use in my robocopy script and it works.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:26.
Find Us




Windows 10 Forums